Ok, I don't know if you're using PhoneGap Build or building locally, but I'm giving it a shot anyway. So if you are using PhoneGap Build:
You need to use a different package name because
"io.cordova.hellocordova" already exists in Google Play.
To fix this error, you need to open your config.xml
and change the id
of your app from the widget element to something unique. For example "io.cordova.panahandeh":
<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "io.cordova.panahandeh"
version = "0.0.1">
You uploaded a debuggable APK.
To solve this one, you need to change a setting called Enable debugging
from the PhoneGap Builds basic settings. So, on PhoneGap Builds Apps page:
- Open your app
- Open the settings tab
- Uncheck the Enable debugging checkbox
- Press Save
If you haven't already digitally signed your app with a certificate, you must also do that before the app can be uploaded to Google Play. You can create a Android Signing key from command line by using Java keytool: http://docs.build.phonegap.com/en_US/signing_signing-android.md.html
After you have created the key, you must upload it to PhoneGap Build before building the app:
- From the top right corner click the user icon and select edit account
- Open the Signing Keys tab
- Under Android press Add key..
- Give the key a Title and an Alias, upload the key you earlier created and press Submit key
- Unlock the key by pressing the yellow lock icon and giving the the password to your key
- Go back to the Apps page and open your app
- Under Android, open the drop down where it says No Key Selected and choose your key
- Rebuild