dpnishant / appmon

Documentation:
http://dpnishant.github.io/appmon
Apache License 2.0
1.56k stars 276 forks source link

Apps Crashing when made with Apk Builder #41

Closed bilaljawed closed 6 years ago

bilaljawed commented 7 years ago

Hello,

This is my first time trying AppMon. I have tried a few apps made using apk builder but each of them crashes on load, its not like there is a security mechanism built on it because i have even tried on my own apps, also i even tried the KitKat version of android till android 6, none of it works. is anyone else having this issue?

dpnishant commented 7 years ago

Can you please send me a sample APK (if its not private) that is failing for you?

ducphanduyagentp commented 6 years ago

Shouldn't the APK be signed before zipalign? apkbuilder zipaligns the APK before signing it, making the zipalign verification failed on the final APK.

dpnishant commented 6 years ago

@ducphanduyagentp Can you verify if your APK installs and runs fine if it is signed before zipalign?

To do that just cut & paste this code block before this line.

As per the Google Developer Docs, when signing manually, the APK must be aligned before its signed. Reference: https://developer.android.com/studio/publish/app-signing.html#signing-manually

dpnishant commented 6 years ago

This issue should have been fixed with commit id https://github.com/dpnishant/appmon/commit/da41b849bc703d34cd4f331c915766086d762954.

Please run git pull origin master to checkout the latest commit and try building the APK again. Please reopen this issue if the problem still persists.