Self-service resources android aapt no output

When I try to dump apk resources using AAPT on Android versions of Jellybean and pre-Jellybean, it works fine. It displays the expected result.

aapt dump --values resources /system/framework/framework-res.apk 

But when I try to run this command in KitKat and newer versions, it does not output anything. I'm not entirely sure that the ART runtime has anything to do with this, though.

Does anyone know what could be causing this? and how to fix it?

+7
android linux terminal binary aapt
source share
3 answers

It seems that the problem is in the Android platform, when AAPT runs on another OS, it works fine, but when it runs inside android, it does not display anything.

+1
source share

In android studio, between the minimum version of the SDK and the maximum version of the SDK are stored according to your version of mobile Android. Then clean the project and try to run.

+4
source share

Here is what I did on the Marshmallow Nexus 6 (6.0 / MRA58K):

 adb pull /system/framework/framework-res.apk aapt dump --values resources framework-res.apk 

he has released 19 MiB Resource Identifier Lists. The same Bean Nexus S jelly teams (4.1.2 / JZO54K) gave an equivalent result, except that it was half as much.

+2
source share

All Articles