question

ans avatar image
ans asked jonahwills published

Can we delete uploaded apk's?

Scenario: We have created an app on developer sandbox and uploaded apk's to be tested on emulator which worked on emulator. Now got a devkit device and global production developer account. This production account also have sandbox environment with which devkit is attached. Now need to test app apk on devkit and we have created first new app in production developer sandbox and trying to upload same apk but getting error on upload like "package.name" is already in use.

Question:
1 - Can we delete apk's from developer sandbox without deleting the app?
2 - What if we delete app from developer sandbox, will this resolve "package.name" is already in use issue?
3 - Do we need to change package name in code and regenerate the apk?

App Marketclover developer community
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 answered bryanvargas commented

You cannot delete APKs, you can only upload a newer version of one to be reviewed.
You can delete the entire app to start over but do not recommend (just make another one). Maybe make a copy of your code with a different package name for the new account and generate a new APK.

https://docs.clover.com/docs/working-with-apks

2 comments
10 |2000

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

ans avatar image ans commented ·

@brayanvargas Tried already the same with updating the package and new apk and app is successfully installing on the dev kit but showing blank screen on opening the app. What can be the reason? Can this be due to similar MID for different merchants for different apps(one is installing apk on emulator and one is installing on the dev kit)?screenshot-3.png

0 Likes 0 ·
screenshot-3.png (6.6 KiB)
bryanvargas avatar image bryanvargas ♦♦ ans commented ·
how did you download the app, and did you upload the APK. and if the package name is different it has to be a new app, you can't have one app with different package names. our guide highlights this.
0 Likes 0 ·
jonahwills avatar image
jonahwills answered jonahwills published
  1. Yes, typically you should be able to delete uploaded APKs from the developer sandbox without deleting the entire app. Most developer sandbox environments provide options to manage individual APK files separately from the app itself.
  2. Deleting the app from the developer sandbox may not necessarily resolve the issue of "package.name" already being in use. This error likely indicates that the package name you're trying to use for the app is already associated with another app in the sandbox environment. Deleting the app may free up the package name for reuse, but it's not guaranteed, as there could still be dependencies or associations with the package name that persist even after deleting the app.
  3. Changing the package name in your code and regenerating the Mod APK is a common solution to resolve conflicts with package names. By using a unique package name that is not already in use, you can avoid the "package.name" already in use issue. Make sure to update the package name in your AndroidManifest.xml file and any other relevant files before rebuilding the APK. This approach ensures that your app has a distinct identity within the developer sandbox environment.
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