Reputation: 1
I create android project with capacitor 5.
I build debug package with ./gradlew assembleDebug
, the app-debug.apk is work.
But when I build release package with ./gradlew assembleRelease
, the apk-release-unsiged.apk was build success, but there is "packageInfo is null" when I install on phone.
Build using npx cap build android
also have this error.
How to compile an Android app using the command line
Upvotes: 0
Views: 1941
Reputation: 1
For those who have also encountered this problem.
Android 11+ requires V2 Signing which can be done with apksigner
(jarsigner
only supports V1 Signing).
Upvotes: 0