Installation failed with message “INSTALL_PARSE_FAILED_BAD_PACKAGE_NAME”

后端 未结 1 1038
走了就别回头了
走了就别回头了 2021-01-29 06:04

So I was doing some refactoring of package names in my project and now i\'m no longer able to install my app. Right around the same time that I updated to the most current versi

相关标签:
1条回答
  • 2021-01-29 06:42

    The package name in your source manifest file is not actually the one that ends up in the APK being installed. During manifest merging process, the final package name is based on the applicationId value in your app's build.gradle file.

    As the error message says, you need at least one . in the package name.

    Other reasons for INSTALL_PARSE_FAILED_BAD_PACKAGE_NAME can be found in PackageParser#validateName() source.

    0 讨论(0)
提交回复
热议问题