Hey Everyone,
I’m working on a Kodular project and needed to make some changes in the AndroidManifest.xml
, so I decompiled the APK, edited the manifest, then recompiled and signed it using apksigner
.
The APK installs fine on my phone now, but it doesn’t actually run — the app just crashes or doesn’t open.
I ran apksigner verify
to check the signature, and this is what I got:
Verified using v1 scheme (JAR signing): false
Verified using v2 scheme (APK Signature Scheme v2): false
Verified using v3 scheme (APK Signature Scheme v3): true
Verified using v3.1 scheme (APK Signature Scheme v3.1): false
Verified using v4 scheme (APK Signature Scheme v4): false
Verified for SourceStamp: false
So only the v3 signature is valid, and I’ve read that for compatibility (especially with older Android versions), v1 and v2 signatures are also needed.
Could someone please guide me on how to sign the APK properly so that v1, v2, and v3 are all true? I’m using the apksigner.bat
tool from Android Build Tools (tried both 35.0.0 and 36.0.0 versions).
Any help would really mean a lot.