question

deepakrathi avatar image
deepakrathi asked devin answered

Trying to add the apk for first time

Trying to upload apk with v1 signature only with the below command, to sandbox environment but it gives me error like 'oops invalid file' - no other clear message, I hope if there is any package name conflicts, then it will give me some kind of message at least

apksigner sign --ks /Users/deepakrathi/clover/clover-sandbox --v1-signing-enabled=true --v2-signing-enabled=false /Users/deepakrathi/Android_Projects/loyaltydog-clover/app/build/outputs/apk/sandbox/release/app-sandbox-release-unsigned.apk

Clover Android SDKApp Marketapp approvals
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bryanvargas avatar image bryanvargas ♦♦ commented ·

I am not sure you are passing in a file, but try using the apksigner example here: https://docs.clover.com/docs/setting-up-an-android-emulator#installing-required-clover-merchant-apps

0 Likes 0 ·

1 Answer

·
devin avatar image
devin answered

Check APK: Verify correct build, signature (apksigner verify), and rebuild if needed.

Keystore: Ensure correct path, password, and try -keystore-password and -storepass options.

Sandbox Restrictions: Confirm size, format, and other requirements. Contact Clover support.

Package Name: Check for conflicts in the sandbox.

Signing Config: Double-check --v1-signing-enabled and --v2-signing-enabled flags.

Use apksigner -v for details.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community