Unable to install signed apk from React Native

后端 未结 8 993
清酒与你
清酒与你 2021-01-01 20:26

After successfully running

./gradlew assembleRelease

BUILD SUCCESSFUL

Total time: 15.842 secs

This build could be faster, please consider using the G         


        
8条回答
  •  囚心锁ツ
    2021-01-01 20:53

    Had a similar issue where it was only happening in android 5(lollipop) and below. Turns out my app was partially signed. Running jarsigner -verify -verbose -certs android/app/prod/release/app-prod-release.apk gave jar is unsigned. Turns out the issue was I was not checking the checkboxes for V1 and V2 at the bottom of the 2nd Generate signed APK dialog box. I was leaving out V1. Be keen to chek both.

提交回复
热议问题