When I try to dump an apk resources using the AAPT on Android Jellybean and pre-Jellybean versions, it works fine. It displays the expected output.
aapt dump --values resources /system/framework/framework-res.apk
But when I try to run this command on KitKat and newer versions, it outputs literally nothing. I'm not really sure if ART runtime has something to do with this though.
Anyone knows what could be the cause of this? and how to fix this?
In android studio ,In between minimum SDK version and maximum SDK version keep as per your mobile android version.then clean project and try to run.
Here is what I've done on a Marshmallow Nexus 6 (6.0/MRA58K):
adb pull /system/framework/framework-res.apk
aapt dump --values resources framework-res.apk
it produced a 19 MiB long list of resource identifiers. The same commands on a Jelly Bean Nexus S (4.1.2/JZO54K) produced equivalent output, except it was half the size.
It seems the problem is in the android platform, when AAPT is ran on other OS, it works fine but when ran on inside android, it displays nothing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With