"If a worker wants to do his job well, he must first sharpen his tools." - Confucius, "The Analects of Confucius. Lu Linggong"
Front page > Programming > Android - Error uploading .aab file to play store

Android - Error uploading .aab file to play store

Published on 2024-11-07
Browse:691

Android - Error uploading .aab file to play store

If you encounter this error, follow these steps to ensure consistency with your package name and signing key:

  • Make sure the package name in your app.json file matches the one you used when you first uploaded the .aab file.
 "android": {
      "permissions":["CAMERA","READ_EXTERNAL_STORAGE"
,"WRITE_EXTERNAL_STORAGE"],
      "adaptiveIcon": {
        "foregroundImage": "./assets/logo.png",
        "backgroundColor": "#ffffff"
      },
      "package": "com.amanbhoria.yourPackageName"
    }
  • When you upload an .aab file, the Google Play Store associates that package name with your default signing key. Changing the package name can lead to signing key errors.

  • If you have changed the package name, you have two options:

  • Reset your SHA-1 key by contacting the Google Play Support team.

a) If you're using Expo developer console, you will find the credentials there
b) You can access and download your credentials using this command:
eas credentials

  • Revert to the original package name that was used during the initial upload.

Android - Error uploading .aab file to play store

Although I've resolved this error but now i have to run the build again just to change the versionCode variable in app.json.

Please refrain from making this mistake XD.

Happy Coding!

Release Statement This article is reproduced at: https://dev.to/amanbhoria/android-error-uploading-aab-file-to-play-store-5cn5?1 If there is any infringement, please contact [email protected] to delete it
Latest tutorial More>

Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.

Copyright© 2022 湘ICP备2022001581号-3