berkus / android-apktool

Automatically exported from code.google.com/p/android-apktool
Other
1 stars 0 forks source link

Skipping "android" package group #188

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using apktool to decompile the SGS2 Email.apk (that i have deodexed) actually 
works (no error/exception) but stdout tells me:

W: Skipping "android" package group

so i don't get the code, only images/xmls

Win7 x64 with apktool 1.4.1
framework.apk installed

I trier without deodexing and it's the same.

Unless i'm completely blind and misread the documentation i can't understand 
what's happening.

On a side note i opened the apk with winrar and it contains no classes.dex AND 
contains a resources.arsc (if it helps finding what's wrong).

Original issue reported on code.google.com by sayanmas...@gmail.com on 28 Jun 2011 at 7:54

GoogleCodeExporter commented 9 years ago
I also meet this issue on my LG GT540 device.

$ adb pull /system/framework/framework-res.apk .
$ abd pull /system/framework/lge-res.apk .
$ apktool if framework-res.apk
$ apktool if lge-res.apk
$ apktool d -f Phone.apk 
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Loading resource table from file: /home/xyz/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...

After extract, there is only res directory, no source directory.

I attached related .apk files as attachment.

Could you take a look at it ?

Thanks.

Original comment by mockey.c...@gmail.com on 22 Jul 2011 at 7:56

Attachments:

GoogleCodeExporter commented 9 years ago
I also get the same issue with SGS2 apks. On the same apk in SGS it works well

Original comment by nam...@gmail.com on 16 Sep 2011 at 5:45

GoogleCodeExporter commented 9 years ago
If there is no classes.dex file then there is no code at all. In odexed roms 
the code is separated from apk file, so you have to deodex .odex file, rename 
it to classes.dex and put into .apk file - then try to decode it.

Also this isn't related to "Skipping "android" package group" message - this 
one is normal.

Original comment by Brut.alll on 5 Nov 2011 at 8:37

GoogleCodeExporter commented 9 years ago
I'm sure I deodexed and added classes.dex to the APK file, but apktool still 
says "W: Skipping \"android\" package group". And after rebuilding, I compared 
it with the original APK, then the AndroidManifest.xml, classes.dex, 
resources.arsc, and all the XMLs are different.

Original comment by chen.92...@gmail.com on 3 Aug 2013 at 12:05