I am trying to submit an application to the marketplace but when I try to upload I get a message:
The package name of your apk (xxx.xxxxxx.xxxxxxxxx) is the same as
the package name of another developer's application. Choose a new
package name.
My company has two apps in market already but the package names are distinct. I have queried the address https://market.android.com/details?id=xxx.xxxxxx.xxxxxxxx to check to make sure that it's not mistakenly identifying one of our other apps but it comes up as "Not Found" which should mean that this package name doesn't conflict.
Is there something else I should try to get this to work? I am going to try a small change to the package name and see if it will pass but this error shouldn't have occurred in the first place.
Maybe the package id does exist, but the application is in an unpublished status at the moment.
Is better to rename the package in this way you avoid having problems.
Change the package name or contact google support
Related
I've recently started creating an app for Android. but i do not have a Website.
how to get Package name. Can i make it com.example.(app name) ?
and how to know if it is available or not ?
package name have no concern with any website. It is used to identify your application uniquely in your mobile phone and in any App store. You can set any name or string in your package name i.e com.example.myfirstapplication
it is not necessary that there should be com.example in the package name you can change them also i.e my.first.application.packagename
You can set whatever package name you like, as long as it isnt already taken when you publish it on the playstore.
More good reading: https://stackoverflow.com/a/6273935/5644761
I have a problem while uploading .apk file. When I try to upload .apk file, I always get the same error:
Its says that I need to name the app file, something like this: com.example.myapp.
The .apk names that I tried (examples): com.rvislt.prosld.apk, com.rvislt.prosld2014.apk and I always got the above error.
I tried to use the different browsers, shutdown all background application and I always got the same error.
It makes me crazy!
What is the problem and how can I fix it?
You are simply renaming the APK file name, try to change your package name of your application.
Like this
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.rvislt.prosld"
android:versionCode="1"
android:versionName="1" >
Renaming the APK file to com.rvislt.prosld.apk does not make any sense and it wont work for you.
Try to change Package Name into your manifest.xml file with com.rvislt.prosld and built again and for the naming conversation go to http://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html
Its not necessary that it always start with .com.
Generally we android developer having practice to decide package name based on the domain name of a particular company.
For example:
1. Domain name: sun.com => Root package name something like : com.sun
2. Domain name: technotalkative.com => Root package name something like: com.technotalkative.android
3. Domain name: sun.org => Root package name something like: org.sun.androidapp
And for more information, What should be the package name of android app?
After having refactored your project to use new package name try to use a find-replace in your project and replace com.youroldpackage.app with com.yournewpackage.app with eclipse.
There are several places where your app page name is used: Manifest etc. java packages etc. make sure that everywhere is used your new package now.
BTW: a good practice for package naming is to use a domain that you own in it, that way you can be almost sure that nobody else uses the same package name, which is a problem, because you cannot upload apps with a package name that is already in use. so for example if you have the domain "mynewpackage.com" then your app packagename should be something like com.mynewpackage.mynewapp
I'm new to android application development. I'm creating simple android application.
Export the android application and give the package name as AndroidManifestfile packagename as
com.example.zingyminds.apk
Now I got the apk file and upload to the google play at that time I got the below error message please anyone help me.
The package name of your apk may not begin with any of the following values: [com.android, com.google, android, com.example]
Packages are typically named using the following convention:
[org/com].[company].[product].[component]
By convention, package names should not contain capitals.
Google Play identifies all the applications on the basis of their package name, so some of the names are reserved for the default applications of the android, like you have mentioned in the last paragraph,
[com.android, com.google, android, com.example]
so, these package name are discouraged and you should use the upper conventions for describing the package name, something like this,
com.zingyminds.apk
Rename your package name com.example.zingyminds.apk to com.zingyminds.apk
Google Play doesn't care about the filename of your application. It cares
about the package name defined in the manifest.
If you observe properly, the fourth value in error message is 'com.example' which is same as starting of your package com.example.zingyminds... Rename your package to something else which is not listed in the message, it will solve your problem.
Packages are typically named using the following convention:
[com.android, com.google, android, com.example]
so, these package name are discouraged and you should use the upper conventions for describing the package name, something like this,
if you want to mention example in your package name, try this
com.zingyminds.example.apk
I try to update customers App in Google Play, this is my first time I do this.
I created a certificate, it seems to be fine. The app was packaged with appcelerator titanium.
When I upload the app in store I get this message:
The name ofupdated APK-Package (gdp.app) must be the same with the package I want to replace (de.gdp)
File Name I upload is: GdP.apk
What do I have to change?
You changed the package name. You have to use the same package name as the original .apk.
Change your package name back to de.gdp .
More information:
http://developer.android.com/guide/topics/manifest/manifest-element.html
"I wont to replace (de.gdp)"
well, you cannot rename your package. If you change your package name the store recognizes it as a different app.
so you cannot update it with different package name.
Renaming your package to gdp.app will solve the issue.
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.
So, you have to maintain the same package name of previous build.
See this link: http://lokeshatandroid.blogspot.in/2012/07/upload-apk-into-android-market.html
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?
two package = two different application in market place.
Once you upload one app, its package should be same. Also, the key should be same.
Android market is only concerned about the package name in your manifest, not the actual packages name in the source.
You could try to give the old package name in the manifest attribute, then for activities give the new package name instead of relative (ie .MainActivity)
Like this:
<manifest package="your.old.package" ...>
...
<application android:name="your.new.package.MainActivity" ...>
Could work..
I plan to serve two versions of my app (paid/free) this way and using same project and code.
If you change the package name, it's treated as a separate app - not just in the market, but apk's in general will only 'replace' the same package name (and only if they're both signed with the same key).
Although it's possible to phase over to a new key by signing an intermediate package with both keys, there's currently no easy way to phase over the package name.
The best that can be done is this:
New apk version is signed with the same key, but has a different package name.
When installed, the new apk arranges to use the shared_prefs with the old package name.
The data is copied across to the new package name.
The new version requests that the old version is removed, and the user sees the uninstall dialog.
Note app data is usually kept here:
/data/data/pac.kage.name/
I haven't tried this, so I can't give anymore details yet. You may also be interested in my request for a seamless way of transitioning the package name.