Settings.apk yı advanced apk tool ile decompile ederken ve recompile ederken sorun yaşıyorum. Birçok romunkini denedim ama hep aynı sorun devam ediyor. x64 x86 mimarili işletim sistemleri denedim ama olmadı. Bu sorun sadece settings.apk da oluyor. Aşağıda vermiş olduğum loglar GG Ultimate romuna aittir. Loglara bakaraktan lütfen yardımcı olabilirmisiniz, şimdiden teşekkürler
advaced apk tool v3.0.0 kullanırken decompile etmede sorun yaşıyorum:
advanced apk tool v4.1.0 kullanırken sıkıntısız bir şekilde decompile ediyorum fakat (daha hiçbir dosyayı bile değiştirmeden) recompile etmiyor:
advaced apk tool v3.0.0 kullanırken decompile etmede sorun yaşıyorum:
Kod:
Log For : Settings.apk
Log Type : Decompiling
Log Recorded At : 05.07.2015 -- 13:07:48,25
Log Recorded By : Advanced ApkTool v3.0.0 By BDFreak
------------------------------------------------------
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103040e
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103040e
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103040e
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103040e
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103040e
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103040e
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103040e
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103040e
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103040e
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030412
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030412
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x0103040e
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:60)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:47)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:45)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:49)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:556)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:312)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:119)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:115)
at brut.apktool.Main.cmdDecode(Main.java:169)
at brut.apktool.Main.main(Main.java:85)
------------------------------------------------------
advanced apk tool v4.1.0 kullanırken sıkıntısız bir şekilde decompile ediyorum fakat (daha hiçbir dosyayı bile değiştirmeden) recompile etmiyor:
Kod:
Log For : Settings.apk
Log Type : Recompiling
Log Recorded At : 05.07.2015 -- 13:19:49,02
Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak
------------------------------------------------------
C:\Users\NETBOOK\Desktop\AdvancedApkTool_v4\3-Out\Settings.apk\res\values\styles.xml:222: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Preference.Material.DialogPreference'.
C:\Users\NETBOOK\Desktop\AdvancedApkTool_v4\3-Out\Settings.apk\res\values\styles.xml:229: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/PreferencePanel.Material'.
C:\Users\NETBOOK\Desktop\AdvancedApkTool_v4\3-Out\Settings.apk\res\values\styles.xml:244: error: Error: No resource found that matches the given name: attr 'android:searchWidgetCorpusItemBackground'.
C:\Users\NETBOOK\Desktop\AdvancedApkTool_v4\3-Out\Settings.apk\res\values\styles.xml:245: error: Error: No resource found that matches the given name: attr 'android:textAppearanceEasyCorrectSuggestion'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\NETBOOK\AppData\Local\Temp\brut_util_Jar_5518697931748416124.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-eng.android.1404206646, -F, C:\Users\NETBOOK\AppData\Local\Temp\APKTOOL8602345544323146589.tmp, -I, C:\Users\NETBOOK\Desktop\AdvancedApkTool_v4\1-BDFreak\Frameworks\1.apk, -S, C:\Users\NETBOOK\Desktop\AdvancedApkTool_v4\3-Out\Settings.apk\res, -M, C:\Users\NETBOOK\Desktop\AdvancedApkTool_v4\3-Out\Settings.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:437)
at brut.androlib.Androlib.buildResources(Androlib.java:374)
at brut.androlib.Androlib.build(Androlib.java:277)
at brut.androlib.Androlib.build(Androlib.java:250)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\NETBOOK\AppData\Local\Temp\brut_util_Jar_5518697931748416124.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-eng.android.1404206646, -F, C:\Users\NETBOOK\AppData\Local\Temp\APKTOOL8602345544323146589.tmp, -I, C:\Users\NETBOOK\Desktop\AdvancedApkTool_v4\1-BDFreak\Frameworks\1.apk, -S, C:\Users\NETBOOK\Desktop\AdvancedApkTool_v4\3-Out\Settings.apk\res, -M, C:\Users\NETBOOK\Desktop\AdvancedApkTool_v4\3-Out\Settings.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:488)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:423)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\NETBOOK\AppData\Local\Temp\brut_util_Jar_5518697931748416124.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-eng.android.1404206646, -F, C:\Users\NETBOOK\AppData\Local\Temp\APKTOOL8602345544323146589.tmp, -I, C:\Users\NETBOOK\Desktop\AdvancedApkTool_v4\1-BDFreak\Frameworks\1.apk, -S, C:\Users\NETBOOK\Desktop\AdvancedApkTool_v4\3-Out\Settings.apk\res, -M, C:\Users\NETBOOK\Desktop\AdvancedApkTool_v4\3-Out\Settings.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:482)
... 6 more
------------------------------------------------------