Some Android projects are extended by functions in the same basic Android version, but it is too troublesome to create a project and copy a file and a file, sometimes there are some strange issues
Therefore, the best way is to extend functions directly in this basic version. However, there cannot be two projects with the same name in eclipse. Even if you rename this project and compile and install it, android will also be
Identify the renamed application and the former application as the same application. What are the reasons and solutions?
First, we should understand how Android distinguishes different applications? In Android, how to differentiate different applications is: Only applications with identical signatures and package names can be recognized as the same application.
An android package name is a unique system name for.apk
File,
Set by the "Android: Package" attribute of the <manifest> element in the package's manifest.
How to obtain the package name can avoid the problem of duplicate package names with other applications, resulting in several applications cannot be installed on the same mobile phone. Let's take a look.
Bypassing the pitfalls of Android Application Development"
After learning about this, let's take a look at how to make changes.
1. Change the android project name.
The purpose is to enable the two projects to be loaded in eclipse at the same time. Right-click the omnipotent item, right-click the refactor, and click Rename to enter the name to change.
Ii. Change the package name.
This is to change the package name of Android so that the two versions of the app are not recognized as the same app during installation. Right-click Android tools and choose rename application package,
Enter the package name you want to change, click OK, and a box will pop up. Select all the tickets under the changes to be confirmed med box, and click Finish.
So far, this project is another android project.