APK-Explorer-Editor icon indicating copy to clipboard operation
APK-Explorer-Editor copied to clipboard

Some resigned apks are invalid

Open linsui opened this issue 4 years ago • 9 comments

E.g. https://f-droid.org/repo/com.cosmos.unreddit_5.apk

linsui avatar Aug 10 '21 06:08 linsui

@linsui I just downloaded the attached APK and installed using the "Resign and Install" option in my app. It installed fine. I don't know where exactly the problem in your case. I'm using Android 10. What about your case?

apk-editor avatar Aug 10 '21 09:08 apk-editor

I'm using Android 11. The resigned apk can't be parsed. com.cosmos.unreddit_aee-signed.apk.zip

linsui avatar Aug 10 '21 10:08 linsui

I'm using Android 11. The resigned apk can't be parsed. com.cosmos.unreddit_aee-signed.apk.zip

Just to narrow down the issue, have you tried installing APK after using the "Resign only" option? If not, please try it and let me know if it is working. Anyway, I'll try to reproduce the issue on an Android 11 emulator (my phone is still running Android 10).

apk-editor avatar Aug 10 '21 10:08 apk-editor

I can't install it. Android says it can't parse the package.

linsui avatar Aug 10 '21 10:08 linsui

I can't install it. Android says it can't parse the package.

Can you send me the signed APK, please? It should be in /sdcard/AEE/ (after using "Resign only" option). Thank You.

apk-editor avatar Aug 10 '21 10:08 apk-editor

I have send it to you. See above.

linsui avatar Aug 10 '21 10:08 linsui

I'm using Android 11. The resigned apk can't be parsed. com.cosmos.unreddit_aee-signed.apk.zip

It is really funny, but this attached version installed fine on Android 10. Anyway, I'll try reproduce this issue on Android 11 emulator later. Thanks.

apk-editor avatar Aug 10 '21 10:08 apk-editor

@linsui Okay, I found this issue specific to certain apks (the attached one and likely, many others). Currently I have no clue. So, bug and help wanted labels are added. Also, I'll keep this issue open until I find a solution.

apk-editor avatar Aug 11 '21 19:08 apk-editor

Thanks!

linsui avatar Aug 12 '21 00:08 linsui

@linsui This issue might be fixed (at least partially) as of v0.25. So, closing this issue. Feel free to open it, if you think the issue still exist.

apk-editor avatar Feb 04 '23 20:02 apk-editor