Changing the name of an application in Eclipse

I finished the quiz app a few days ago. Now I want to publish a second quiz with different questions. I copied the project in Eclipse and changed the questions. Now, when it is installed on my smartphone, it informs me that this application already exists.

So where can I change the name in which these two applications are different? Or do I need to change something?

+6
source share
6 answers

You need to change the package name:

Right click on the project -> Android Tools -> Rename Application package 
+12
source

If you have not already done so ... you need to change the package name as above, but go to strings.xml and change "<string name="app_name">your app name </string>" just by changing the text that in this case, it says your application name.

+2
source

When you test, you can do this by removing one and installing the other. However, if you intend to release two applications (or any number of applications) on Google Play, you should always have different package names for each.

The way the Google Play engine works is that different applications can have the same name. However, they differ from each other in the names of their packages. Two apps on the Google Play Store cannot have the same package names.

Here is a good article called Things That Can't Change From Dianne Hackborn.

Of course, use this ( as Nunu already answered ) to change the package name of your second application: Right-click on the project → Android Tools → Rename the application package

+1
source

Perhaps this application is AndroidManifest.xml →. Pls watch

  <application android:name="MyApplication" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" android:allowBackup="true"> <activity 

also in XML

0
source

Your pakage name is the same. 1. Try removing the old one, and then reinstall 2. or install it just by changing your pakage name

0
source

You need to change the name of your main package name, here the application name should be the same, but the package name should not be!

0
source

All Articles