Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing the package name of an upgraded Android application

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?

like image 653
yogsma Avatar asked Jan 06 '11 06:01

yogsma


People also ask

Can we change the package name of Android app?

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.

Can we change package name of an app?

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.

Does package name matter Android Studio?

As an Android Developer, you should know that the Package Name that you choose for your app is very important.


1 Answers

two package = two different application in market place. Once you upload one app, its package should be same. Also, the key should be same.

like image 95
Sarwar Erfan Avatar answered Oct 21 '22 01:10

Sarwar Erfan