During the upgrade of my android application, I changed the package name. But Android market doesn't allow to upload the changed package name application as an upgrade. If I upload the application as a new application, will the user have two applications on his/her device? How can I make sure that the user doesn't have to download the application again from scratch without reverting the change of my package name?
Step by Step Implementation Step 2: Now click on the setting gear icon and deselect Compact Middle Packages. Step 3: Now the packages folder is broken into parts as shown in the below image. Step 4: Now right-click on the first package name (com) and Refactor > Rename.
Select Refactor. Click on Rename. In the Pop-up dialog, click on Rename Package instead of Rename Directory. Enter the new name and hit Refactor.
As an Android Developer, you should know that the Package Name that you choose for your app is very important.
two package = two different application in market place. Once you upload one app, its package should be same. Also, the key should be same.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With