问题
I Decompile apk with online tool "http://www.decompileandroid.com/" and with "APK studio".
Decompiling is okay, with all .java files, images and xml files. But i want to import this in android studio, as normal project.
When i select decomplied project in android studio, it just show project name, no src files, no XML files, no images..
回答1:
You can also use apktool to decompile and recompile the APK. Use the following steps to decompile
apktool d <apk>
and to compile back
apktool b <apk>
When your APK is decompiled, it is not in the exact source code form. You will see a lot of dex hooks and in general it is not an exact android project that an IDE can recognise and import. You can use any normal editor to read the code and understand to make changes.
Download link: https://ibotpeaches.github.io/Apktool/
来源:https://stackoverflow.com/questions/40298815/decompile-apk-and-import-in-android-studio