[Q] Cannot install android framework - Galaxy S III Q&A, Help & Troubleshooting

I download APKTool and extract C:\APKTools.
When I run command "apktool.bat if framework-res.apk" (without quote).
Then I got this error.
Code:
C:\apktools>apktool.bat if framework-res.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR0
W: Config flags size > 32. Exceeding bytes: -3FFD0000.
W: Invalid config flags detected: dimen-v13-ERR1
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x01050001 dimen/thumbnail_height, config=-v13
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.installFramework(Unknown Source)
at brut.androlib.Androlib.installFramework(Unknown Source)
at brut.apktool.Main.cmdInstallFramework(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
C:\apktools>
but when I extract another apk, it is fine. (but it load other framework)
Code:
C:\apktools>apktool.bat d "CZFX v3.5.5 apkmania.com.apk"
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\vm-win7\apktool\framework\1.apk
I: Copying assets and libs...
Is there any problem?
Thanks

I think you should state the location of your framework e.g apktool.bat if E:\framework-res.apk.
Sent from my GT-I9300 using xda app-developers app

Arsaw said:
I think you should state the location of your framework e.g apktool.bat if E:\framework-res.apk.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Yes, framework-res.apk is in the same directory.

I follow this instruction.
http://forum.xda-developers.com/showthread.php?t=1427959

Related

[Q] framework-res.apk decode/build problem

Hello! I have Huawei U8500 with custom Android 2.2. I wanted to decode framework-res.apk with apktool, change anything and build it again. But I have troubles with it. First of all decoding:
Code:
C:\framework>apktool d framework-res.apk
I: Loading resource table...
W: Config flags size > 32. Exceeding bytes: 5500000048030000.
W: Invalid config flags detected. Dropping resources: array-ERR0
W: Config flags size > 32. Exceeding bytes: 7F00000058010000.
W: Invalid config flags detected. Dropping resources: array-ERR1
W: Config flags size > 32. Exceeding bytes: -4CFFFFFF97FF0000.
W: Invalid config flags detected. Dropping resources: array-ERR2
W: Config flags size > 32. Exceeding bytes: -18FCFFFF18FD0000.
W: Invalid config flags detected. Dropping resources: array-ERR3
I: Decoding resources...
I: Copying assets and libs...
C:\framework>
As you can see, it drops some resources. I tried to decode it with "--keep-broken-res":
Code:
C:\framework>apktool d --keep-broken-res framework-res.apk
I: Loading resource table...
W: Config flags size > 32. Exceeding bytes: 5500000048030000.
W: Invalid config flags detected: array-ERR0
W: Config flags size > 32. Exceeding bytes: 7F00000058010000.
W: Invalid config flags detected: array-ERR1
W: Config flags size > 32. Exceeding bytes: -4CFFFFFF97FF0000.
W: Invalid config flags detected: array-ERR2
W: Config flags size > 32. Exceeding bytes: -18FCFFFF18FD0000.
W: Invalid config flags detected: array-ERR3
I: Decoding resources...
I: Copying assets and libs...
C:\framework>
The difference is that for the second time in the "res" folder appeared 4 additional folders "values-ERR0", "values-ERR1", "values-ERR2" and "values-ERR3" with "arrays.xml" file in each. And also there is one more string in "public.xml", which was not there for the first time. The string is:
Code:
<public type="array" name="default_locales" id="0x01070005" />
Than I tried to build it (without any changes).
When I try to build framework-res, which was decoded without "--keep-broken-res" parameter I get this:
Code:
C:\framework>apktool b framework-res1 1.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\framework\framework-res1\res\values\public.xml:2395: error: Public entry iden
tifier 0x107001d entry index is larger than available symbols (index 29, total s
ymbols 29).
C:\framework\framework-res1\res\values\public.xml:2395: error: Public symbol arr
ay/carrier_properties declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Soontir\AppData\Local\Temp
\APKTOOL5080969896487671571.tmp, -x, -S, C:\framework\framework-res1\res, -M, C:
\framework\framework-res1\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Soontir\AppData\Local\Temp\APKTOOL5080969896487671571.tmp, -x, -S, C:\frame
work\framework-res1\res, -M, C:\framework\framework-res1\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
C:\framework>
And when I try to build framework-res, which was decoded with "--keep-broken-res" parameter I get this:
Code:
C:\framework>apktool b framework-res 1.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\framework\framework-res\res/values-ERR0
invalid resource directory name: C:\framework\framework-res\res/values-ERR1
invalid resource directory name: C:\framework\framework-res\res/values-ERR2
invalid resource directory name: C:\framework\framework-res\res/values-ERR3
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Soontir\AppData\Local\Temp
\APKTOOL5529805555528398812.tmp, -x, -S, C:\framework\framework-res\res, -M, C:\
framework\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Soontir\AppData\Local\Temp\APKTOOL5529805555528398812.tmp, -x, -S, C:\frame
work\framework-res\res, -M, C:\framework\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
C:\framework>
Can someone help me with it, please?
Just in case framework-res.apk is attached.
https://code.google.com/p/android-apktool/issues/detail?id=128
Thank you for your answer, I'll try to fix these resources manually.
gamewpo clean
Soontir Fel said:
Thank you for your answer, I'll try to fix these resources manually.
Click to expand...
Click to collapse
How do you fix this manually? I am having the same problem.

[Q] How to decompile SystemUI.apk?

Hi there,
With the arrival of my new SGS II I was very interested in making some of those nifty themes myself. Ofcourse I have to know a lot more about Android before I can do anything nice, but we all have to start somewhere
I was looking around on the web and found references to APK Manager and the nice stuff one can do with it. I say one, because I haven't been able to do anything with it yet.
Sure, it pulls the requested apk's, but when I try to decompile say, SystemUI.apk, it gives me an error and nothing else.
The error I get is:
Code:
"An Error Occured, Please Check The Log (option 21)"
Press any key to continue . . .
Then, when I check the log it says:
Code:
--------------------------------------------------------------------------
|di 17-05-2011 -- 18:40:41,89|
--------------------------------------------------------------------------
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)
Could Not Find D:\Samsung\SII\APK Manager\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Could Not Find D:\Samsung\SII\APK Manager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\dateq\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a6
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010300a6
at brut.androlib.res.data.ResPackage.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(Unknown Source)
at brut.androlib.res.data.value.ResReferenceValue.toResXmlFormat(Unknown Source)
at brut.androlib.res.data.value.ResAttr.convertToResXmlFormat(Unknown Source)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unknown Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown Source)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Anyone know what to make of this?
Same error for me.
I do not know the cause!!!
You have to install framework resources pulled from a device. But I don't know how to do that using Apk Manager.
If you rename it to a .zip you can extract files from it. for example replacing the battery icons, Just remove the old battery icons and drop the new ones in, in like winrar or something
Sent from my GT-I9100 using XDA Premium App
In my case i use apktool and i have install the framework!!!
Thanks for the replies all, especially apktool, that was a real help.
However, I am now running into a new problem...
Whenever I pull SystemUI.apk, decode it with apk tool and then build it again without doing anything, I notice a reduction in size.
Some people on the net say it needs to be signed, some say that shouldnt be done at all with system apk's.
Anyone have a thought about that?
it needs to be signed!!!use signapk.jar
java -jar signapk.jar testkey.x509.pem testkey.pk8 SystemUI.apk SystemUISigned.apk
I'm running into the same problem myself (sorry for the bump - I just started getting into the modding).
I just get
"An Error Occured, Please Check The Log (option 21)"
Press any key to continue . . .
And in my log
Code:
--------------------------------------------------------------------------
|Tue 19/07/2011 -- 21:24:39.70|
--------------------------------------------------------------------------
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
Could Not Find C:\Program Files (x86)\Android\android-sdk\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Could Not Find C:\Program Files (x86)\Android\android-sdk\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\parker\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010300a3
at brut.androlib.res.data.ResPackage.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(Unknown Source)
at brut.androlib.res.data.value.ResReferenceValue.toResXmlFormat(Unknown Source)
at brut.androlib.res.data.value.ResAttr.convertToResXmlFormat(Unknown Source)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unknown Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown Source)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Click to expand...
Click to collapse
Try option 10 and drag over framework-res.apk and SystemUI.apk into the window of apktool. Worked for me to decompile SystemUI.apk.
Hi
Dont know if you found this thread yet, its over 200 pages
lots of info
http://forum.xda-developers.com/showthread.php?t=695701

Another framework-res.apk question / problem

Hi:
Yes, I've Googled, searched the forum, etc.
I'm having a problem with the framework-res.apk from Revolution HD for the Amaze 4G. I have tried countless methods of decompiling / recompiling on my native linux system and a virtual XP system.
Yes, I did install the dependencies (if framework-res.apk and if com.htc.resources.apk). When I decompile I get some errors :
Code:
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)
I: Loading resource table...
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR11
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
A quick google reveals that it's a just a warning and that I shouldn't have any problems.
Next error is during recompile
Code:
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
apktool\framework\res\values\anims.xml:3:error: Found tag anim where item is expected
apktool\framework\res\values\public.xml:6585: error: Public symbol anim/htc_ime_decelerate_interpolator declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, APKTOOL2735390385429398495.tmp, -x, -S, \apktool\framework\res, -M, \apktool\framework\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, \APKTOOL2735390385429398495.tmp, -x, -S, apktool\framework\res, -M, apktool\framework\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
A quick google reveals that I need to replace a line in /res/xml/values/anims.xml:
Replace:
Code:
<anim name="htc_ime_decelerate_interpolator">@anim/zzz_htc_ime_decelerate_interpolator</anim>
With
Code:
<item type="anim" name="htc_ime_decelerate_interpolator">@anim/zzz_htc_ime_decelerate_interpolator</item>
After doing that, framework-res compiles properly, however, on reboot I can't get past the lockscreen (com.android.phone has stopped ).
I tried it signed, unsigned, a dozen different versions of apktool, apk multi tool, FrameworkFlasher, etc.
Any ideas?
INFO:
I am trying to replace apns.xml with a custom one that I put together.
shameless
a shameless bump.......
Have you tried this one?
http://forum.xda-developers.com/showpost.php?p=23935070&postcount=14
I was having a lot of trouble with ICS myself and once I started using this one they went away
Downloading it now. Thanks!

Problem with rom Translate

Hello,
Im Trying to translate rom with unsucces
im get an error when im try to Decompile,That the errror:
Code:
largeScreens, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
configChanges, value=0x00000fb0
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x0103000f
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR10
W: Could not decode attr value, using undecoded value instead: ns=android, name=
icon, value=0x7f020000
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR11
W: Could not decode attr value, using undecoded value instead: ns=android, name=
launchMode, value=0x00000001
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR12
W: Could not decode attr value, using undecoded value instead: ns=android, name=
screenOrientation, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR13
W: Could not decode attr value, using undecoded value instead: ns=android, name=
windowSoftInputMode, value=0x00000002
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x0105005a dimen/multiwindow_gap, config=-v13
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadFrameworkPkg(Unknown Source)
at brut.androlib.res.data.ResTable.getPackage(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknow
n Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unkno
wn Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown So
urce)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: 9 (■■∞ε≥°δ· αΘ∩ α⌠∙°σ· ∞α·° α· Σ≈σß⌡ ∙÷σΘ∩)
at brut.androlib.res.AndrolibResources.installFramework(Unknown Source)
at brut.androlib.Androlib.installFramework(Unknown Source)
at brut.apktool.Main.cmdInstallFramework(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: java.io.FileNotFoundException: 9 (■■∞ε≥°δ· αΘ∩ α⌠∙°σ· ∞α·° α· Σ≈σß⌡ ∙
÷σΘ∩)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
... 4 more
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR0
W: Could not decode attr value, using undecoded value instead: ns=android, name=
versionCode, value=0x00000002
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR1
W: Could not decode attr value, using undecoded value instead: ns=android, name=
installLocation, value=0x00000001
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR2
W: Could not decode attr value, using undecoded value instead: ns=android, name=
minSdkVersion, value=0x00000004
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR3
W: Could not decode attr value, using undecoded value instead: ns=android, name=
targetSdkVersion, value=0x0000000e
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR4
W: Could not decode attr value, using undecoded value instead: ns=android, name=
anyDensity, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR5
W: Could not decode attr value, using undecoded value instead: ns=android, name=
smallScreens, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR6
W: Could not decode attr value, using undecoded value instead: ns=android, name=
normalScreens, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR7
W: Could not decode attr value, using undecoded value instead: ns=android, name=
largeScreens, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
configChanges, value=0x00000fb0
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x0103000f
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR10
W: Could not decode attr value, using undecoded value instead: ns=android, name=
icon, value=0x7f020000
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR11
W: Could not decode attr value, using undecoded value instead: ns=android, name=
launchMode, value=0x00000001
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR12
W: Could not decode attr value, using undecoded value instead: ns=android, name=
screenOrientation, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR13
W: Could not decode attr value, using undecoded value instead: ns=android, name=
windowSoftInputMode, value=0x00000002
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x0105005a dimen/multiwindow_gap, config=-v13
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadFrameworkPkg(Unknown Source)
at brut.androlib.res.data.ResTable.getPackage(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknow
n Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unkno
wn Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown So
urce)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Could Not Find C:\ANDROTRANSLATE\place-apk-here-for-modding\../place-apk-here-fo
r-modding/signedTaskManager.apk
Could Not Find C:\ANDROTRANSLATE\place-apk-here-for-modding\../place-apk-here-fo
r-modding/unsignedTaskManager.apk
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR0
W: Could not decode attr value, using undecoded value instead: ns=android, name=
versionCode, value=0x00000002
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR1
W: Could not decode attr value, using undecoded value instead: ns=android, name=
installLocation, value=0x00000001
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR2
W: Could not decode attr value, using undecoded value instead: ns=android, name=
minSdkVersion, value=0x00000004
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR3
W: Could not decode attr value, using undecoded value instead: ns=android, name=
targetSdkVersion, value=0x0000000e
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR4
W: Could not decode attr value, using undecoded value instead: ns=android, name=
anyDensity, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR5
W: Could not decode attr value, using undecoded value instead: ns=android, name=
smallScreens, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR6
W: Could not decode attr value, using undecoded value instead: ns=android, name=
normalScreens, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR7
W: Could not decode attr value, using undecoded value instead: ns=android, name=
largeScreens, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
configChanges, value=0x00000fb0
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x0103000f
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR10
W: Could not decode attr value, using undecoded value instead: ns=android, name=
icon, value=0x7f020000
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR11
W: Could not decode attr value, using undecoded value instead: ns=android, name=
launchMode, value=0x00000001
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR12
W: Could not decode attr value, using undecoded value instead: ns=android, name=
screenOrientation, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR13
W: Could not decode attr value, using undecoded value instead: ns=android, name=
windowSoftInputMode, value=0x00000002
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x0105005a dimen/multiwindow_gap, config=-v13
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadFrameworkPkg(Unknown Source)
at brut.androlib.res.data.ResTable.getPackage(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknow
n Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unkno
wn Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown So
urce)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Press any key to continue . . .
What is it mean?
Thnx.

I can't decompile an apk game for modding it

Well, I have a trouble with an apk game that i wanna mod, i extracted my apk with apk manager waiting that it will be modded by me, but when i tried to decompile i get this problem:
|12/05/2016 -- 19:55:24.00|
--------------------------------------------------------------------------
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) Client VM (build 25.91-b14, mixed mode, sharing)
Not found C:\Users\Gerardo Pèrez Vàsque\Downloads\Apk_Manager_5.0.2 e
n español\place-apk-here-for-modding\../place-apk-here-for-modding/signedair.com
.konami.ygo-1.apk
Not found C:\Users\Gerardo Pèrez Vàsque\Downloads\Apk_Manager_5.0.2 e
n español\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedair.c
om.konami.ygo-1.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Gerardo PÞrez VÓsque\apktool\frame
work\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR0
W: Config flags size > 32. Exceeding bytes: -3FFD0000.
W: Invalid config flags detected: dimen-v13-ERR1
W: Could not decode attr value, using undecoded value instead: ns=android, name=
versionCode, value=0x000f6d39
I: Loading resource table from file: C:\Users\Gerardo PÞrez VÓsque\apktool\frame
work\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR2
W: Config flags size > 32. Exceeding bytes: -3FFD0000.
W: Invalid config flags detected: dimen-v13-ERR3
W: Could not decode attr value, using undecoded value instead: ns=android, name=
versionName, value=0x0000001d
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Unknown Source)
at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSeria
lizer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:
673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSer
ializerDelegate.java:106)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:46)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
00)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:114
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
I will waiting for your help

Categories

Resources