Error publishing app on Google Play

2

I'm trying to post Apk, but enjoy this error message

    O envio falhou
Você fez o upload de um APK depurável. Por razões de segurança, desative a depuração antes de publicá-lo no Google Play. Saiba mais sobre APKs depuráveis..
Use um nome de pacote diferente. "com.example" é restrito.
    
asked by anonymous 19.08.2016 / 19:46

1 answer

1

Google Play does not accept a debugging version of your .apk file. You can only send% compiled% as a release version. In addition, it must be signed with the Android developer key. Be sure to distribute a .apk file that is your signed version, as described here in documentation of Android:

By generating your debug key it would look something like:

$keytool -list -v -keystore debug.keystore -alias androiddebugkey -storepass android -keypass android 
  • Keystore name: "debug.keystore"
  • Keystore password: "android"
  • Key alias: "androiddebugkey"
  • Key password: "android"
  • CN: "CN = Android Debug, O = Android, C = US"

Generating your release key would change to:

$keytool -list -v -keystore "c:\minhachave.keystore" -alias minhachave -storepass android 
    
20.08.2016 / 18:07