简体   繁体   中英

Failed to start adb — APK doesn't start after rebuilding with apktool

I have APK file, I drop it with mouse to my android emulator, it loads successfully. Then I use following commands to repack APK:

apktool d -s app-debug.apk

cd app-debug

apktool b

I get this error when I drag and drop new APK file. I need -s key to preserve .dex file (I need to replace DEX, but I have same problem when replace) and avoid decompile/compile step:

在此处输入图片说明

For me uninstalling previous version of application helped. Using adb from command line helped to identify error message.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM