Home >Web Front-end >JS Tutorial >Android - Error uploading .aab file to play store

Android - Error uploading .aab file to play store

Susan Sarandon
Susan SarandonOriginal
2024-10-01 22:24:29214browse

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!

The above is the detailed content of Android - Error uploading .aab file to play store. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn