Generating unsigned, release apk with Android Studio

后端 未结 3 1062
予麋鹿
予麋鹿 2020-12-25 14:01

I need to generate an unsigned, release APK (where someone else will then sign it and release it to the store- with the someone else handling the keys and e

3条回答
  •  旧巷少年郎
    2020-12-25 14:39

    I had to do the same thing (because app signing is handled elsewhere) and I simply rebuilt the project.

    To generate an unsigned release apk, select a release version in the Build Variants menu.

    Note: You may get a red cross in your app configuration on the top menu, ignore it.

    Rebuild your project application Build > Rebuild Project.

    You will find your app-release-unsigned.apk in:

    • ~\app\build\outputs\apk\release\

    Note: If you need to create other versions, save the generated apk because subsequent rebuilds will overwrite the current apk(...don't be like me).

提交回复
热议问题