Android package name question
The package name of each application (both lite and pro version) must be unique. Can the package name be changed later during development? Because the package name used in my application can already be used by other applications on the market. As far as i remember once i modified the package name of my app and it was showing errors everywhere (despite i changed the package name everywhere). One other thing: as the update of an app is a modified version of it, i guess the package name of the update stays the same of the app’s. Or i could say the package name of the modified app..
I am pretty sure that my answers to my questions are
- Yes, package name can be changed later (before publishing)
- During an update the package name should 开发者_StackOverflow社区stay the same.
I just want to make sure..
Thanks.
Yes, you're right about the probable answers.
Yes you can and it should work. I haven't seen the error messages you got so I can't tell what was it but you might have forgotten to update the Manifest.
Yes. The package package name should stay the same. If you change the package name the application will not be recognized as the same.
From the Android Developer page:
Before uploading the updated application, be sure that you have incremented the android:versionCode and android:versionName attributes in the element of the manifest file. Also, the package name must be the same as the existing version and the .apk file must be signed with the same private key. If the package name and signing certificate do not match those of the existing version, Market will consider it a new application, publish it as such, and will not offer it to existing users as an update.
http://developer.android.com/guide/publishing/publishing.html
Yes, package name can be changed later and may be changed after publishing but its as if you are developing a fully new application.
During an update the package name should stay the same
精彩评论