[Q] Theme chooser APK Recompile Error - Android Q&A, Help & Troubleshooting

I've been trying for many days to get this to work, it's driving me nuts!!
I can decompile and recompile framework-res.apk and other apps successfully, but every time I decompile a theme chooser *.apk I get errors trying to recompile.
Is there a trick to this? I am running Reaper 3.0(CyanogenMod 7) installed the framework via installation options(that's all), have paths to platform-tools, tools etc.. The latest Android SDK installed (and all the others..)
Once again I'n only getting these errors Recompiling TC Themes.
Here is an Excerpt of my APKMULTITOOL.LOG, the start middle and end.
(full log is also attached)
|
Code:
Thu 06/21/2012 -- 22:05:11.28|
--------------------------------------------------------------------------
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
Could Not Find C:\android-sdk\place-apk-here-for-modding\../place-apk-here-for-modding/signedcom.araviel.theme.aerish.apk
Could Not Find C:\android-sdk\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedcom.araviel.theme.aerish.apk
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\twIIce\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
W/ResourceType( 3988): Bad string block: string #14 extends to 1847, past end at 60
W/ResourceType( 3988): Bad string block: string #13 extends to 1842, past end at 60
W/ResourceType( 3988): Bad string block: string #12 extends to 1075, past end at 60
W/ResourceType( 3988): Bad string block: string #11 extends to 815, past end at 60
W/ResourceType( 3988): Bad string block: string #10 extends to 812, past end at 60
W/ResourceType( 3988): Bad string block: string #9 extends to 1061, past end at 60
W/ResourceType( 3988): Bad string block: string #8 extends to 1575, past end at 60
W/ResourceType( 3988): Bad string block: string #7 extends to 2075, past end at 60..................
res\xml\com_melodis_midomiMusicIdentifier.xml: Invalid file name: must contain only [a-z0-9_.]
res\xml\com_melodis_midomiMusicIdentifier.xml: Invalid file name: must contain only [a-z0-9_.]
C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\res\values\styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme'.
C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\res\values\styles.xml:4: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme'.
C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\res\values\styles.xml:9: error: Error: No resource found that matches the given name: attr 'android:shadowColor'.
C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\res\values\styles.xml:10: error: Error: No resource found that matches the given name: attr 'android:shadowDx'.
C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\res\values\styles.xml:11: error: Error: No resource found that matches the given name: attr 'android:shadowDy'..............................................................................................................................................................................................
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\twIIce\LOCALS~1\Temp\APKTOOL7854039488745011416.tmp, -x, -I, C:\Documents and Settings\twIIce\apktool\framework\1.apk, -S, C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\res, -M, C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:302)
at brut.androlib.Androlib.buildResources(Androlib.java:249)
at brut.androlib.Androlib.build(Androlib.java:172)
at brut.androlib.Androlib.build(Androlib.java:155)
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, C:\DOCUME~1\twIIce\LOCALS~1\Temp\APKTOOL7854039488745011416.tmp, -x, -I, C:\Documents and Settings\twIIce\apktool\framework\1.apk, -S, C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\res, -M, C:\android-sdk\platform-tools\..\projects\com.araviel.theme.aerish.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
I would GREATLY appreciate it if anyone could shed some light on this for me, I've been googling for days, but sadly (at the moment) I've no programming skills whatsoever and sorting through technical posts is confusing at best.

Bump!

twiice said:
Bump!
Click to expand...
Click to collapse
Did you found a solution ?
Ive been trying for days too ... no sucess

Related

[Q] MIUI port help needed from devs

Please Refer the below link first to know what procedure i have followed.
http://forum.xda-developers.com/showthread.php?t=1479493
After running make command to make a ported zip file, got this error. Please tell me what about the error is and how can i fix that.
Code:
cp /home/jayasimha/thepatcher/miui/system/framework/framework-miui-res.apk .build/ZIP/system/framework/framework-miui-res.apk
build .build/framework-res.apk...
--------------------------------------------
cp -r framework-res .build
/home/jayasimha/thepatcher/tools/apktool b .build/framework-res .build/framework-res.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'wifi_available' has no default translation in /home/jayasimha/thepatcher/i9100G/.build/framework-res/res; found: ms
aapt: warning: string 'wifi_available_detailed' has no default translation in /home/jayasimha/thepatcher/i9100G/.build/framework-res/res; found: ms
I: Building apk file...
cp apks-unsinged to zip dirs
cp .build/framework-res.apk .build/ZIP/system/framework/framework-res.apk
build .build/MIUISystemUI.apk...
--------------------------------------------
cp -r SystemUI .build
/home/jayasimha/thepatcher/tools/apktool b .build/SystemUI .build/MIUISystemUI.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
res/drawable-hdpi/status_bar_background.png:0: error: Resource entry status_bar_background is already defined.
res/drawable-hdpi/status_bar_background.9.png:0: Originally defined here.
/home/jayasimha/thepatcher/i9100G/.build/SystemUI/res/values/styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Holo.Light.Panel'.
/home/jayasimha/thepatcher/i9100G/.build/SystemUI/res/values/styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Holo.Light.Panel'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL2651416676899838457.tmp, -I, /home/jayasimha/apktool/framework/1.apk, -S, /home/jayasimha/thepatcher/i9100G/.build/SystemUI/res, -M, /home/jayasimha/thepatcher/i9100G/.build/SystemUI/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, /tmp/APKTOOL2651416676899838457.tmp, -I, /home/jayasimha/apktool/framework/1.apk, -S, /home/jayasimha/thepatcher/i9100G/.build/SystemUI/res, -M, /home/jayasimha/thepatcher/i9100G/.build/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
make: *** [.build/MIUISystemUI.apk] Error 1

[Q] Recompiling framework-res.apk with apktool 1.4.9

I'm using apktool 1.4.9 (http://forum.xda-developers.com/showthread.php?t=1755243) and am attempting to do a simple test de/recompile of framework-res.apk to make sure I have everything set up properly on a new dev rig (64-bit CrunchBang Linux), but I am getting errors referring me to AndroidManifest.xml:
Code:
[email protected]:~/apktool$ ./apktool d framework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
[email protected]:~/apktool$ ./apktool b framework-res framework-res-new.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-w600dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-sw600dp-land
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/layout-w600dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/drawable-sw600dp-mdpi
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-sw600dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-w500dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-w720dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-w360dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/drawable-sw600dp-hdpi
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-h720dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/drawable-sw600dp-xhdpi
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-sw600dp-w1280dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/drawable-sw600dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/layout-sw600dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-w480dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-sw600dp-w1024dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL5963956700589881063.tmp, -x, -S, /home/grayn0de/apktool/framework-res/res, -M, /home/grayn0de/apktool/framework-res/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:251)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:325)
at brut.androlib.Androlib.buildResources(Androlib.java:270)
at brut.androlib.Androlib.build(Androlib.java:193)
at brut.androlib.Androlib.build(Androlib.java:175)
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, /tmp/APKTOOL5963956700589881063.tmp, -x, -S, /home/grayn0de/apktool/framework-res/res, -M, /home/grayn0de/apktool/framework-res/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:249)
... 6 more
I'm using the patched aapt from the above linked thread and was able to successfully de/recompile com.htc.resources.apk without issue, using fernando sor's tutorial (http://forum.xda-developers.com/showthread.php?t=1651074), but I'm not getting any love with framework-res.apk. I've attempted another one of fernando sor's tutorials (http://forum.xda-developers.com/showthread.php?t=1601511), without luck.
Would like to get this new machine set up properly for this device, but despite numerous attempts (and various versions of apktool/aapt) and hours of searching the forums, I have been unsuccessful. I have the machine set up for GB ROM & source development just fine, but ICS/JB is becoming a headache. Any and all help is greatly appreciated. TIA
Try this way http://forum.xda-developers.com/showthread.php?t=1642224
See if that tread might help you
http://themikmik.com/showthread.php...setup-APKTOOL-and-De-Recompile-ICS-apk-s-quot

[Q] JB 4.3 SystemUI Buid error....

Java 7.0.45-b18
apktool 1.5.2
Code:
C:\android\Apk_Manager_jb\other>apktool d SystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\dnaeva\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\android\Apk_Manager_jb\other>apktool b SystemUI
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resourc
e found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_notification_panel_title.xml:19: error: Error: No resourc
e found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_notification_panel_title.xml:21: error: Error: No resourc
e found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:5: error: Error: No resource found that
matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:6: error: Error: No resource found that
matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:7: error: Error: No resource found that
matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:10: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:11: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:12: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:13: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:15: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:16: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:17: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:18: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:21: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:22: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:23: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:26: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:27: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:28: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:29: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:32: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:33: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:34: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:35: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:37: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException:
could not exec command: [aapt, p, --min-sdk-version, 18, --target-sdk-version, 18, -F, C:\Users\dnaeva\AppData\Local\Tem
p\APKTOOL50782875655730866.tmp, -0, arsc, -I, C:\Users\dnaeva\apktool\framework\1.apk, -S, C:\android\Apk_Manager_jb\oth
er\SystemUI\res, -M, C:\android\Apk_Manager_jb\other\SystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-versi
on, 18, --target-sdk-version, 18, -F, C:\Users\dnaeva\AppData\Local\Temp\APKTOOL50782875655730866.tmp, -0, arsc, -I, C:\
Users\dnaeva\apktool\framework\1.apk, -S, C:\android\Apk_Manager_jb\other\SystemUI\res, -M, C:\android\Apk_Manager_jb\ot
her\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 18, --target-sdk-version, 18,
-F, C:\Users\dnaeva\AppData\Local\Temp\APKTOOL50782875655730866.tmp, -0, arsc, -I, C:\Users\dnaeva\apktool\framework\1.
apk, -S, C:\android\Apk_Manager_jb\other\SystemUI\res, -M, C:\android\Apk_Manager_jb\other\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
C:\android\Apk_Manager_jb\other>
dnaeva said:
apktool 1.5.2
Click to expand...
Click to collapse
Try Apktool v2.0 Beta 7
laura almeida said:
Try Apktool v2.0 Beta 7
Click to expand...
Click to collapse
so....
Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\dnaeva>cd C:\android\Apk_Manager_jb\other
C:\android\Apk_Manager_jb\other>apktool d SystemUI.apk
I: Using Apktool 2.0.0-Beta7 on SystemUI.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\dnaeva\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Loading resource table...
I: Baksmaling...
testCleaning up unclosed ZipFile for archive C:\Users\dnaeva\apktool\framework\1.apk
I: Copying assets and libs...
I: Copying unknown files/dir...
I: Copying original files...
C:\android\Apk_Manager_jb\other>apktool b SystemUI
I: Using Apktool 2.0.0-Beta7 on SystemUI
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resourc
e found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_notification_panel_title.xml:19: error: Error: No resourc
e found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_notification_panel_title.xml:21: error: Error: No resourc
e found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:5: error: Error: No resource found that
matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:6: error: Error: No resource found that
matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:7: error: Error: No resource found that
matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:10: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:11: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:12: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:13: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:15: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:16: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:17: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:18: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:21: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:22: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:23: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:26: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:27: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:28: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:29: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:32: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:33: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:34: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:35: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:37: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException:
could not exec command: [C:\Users\dnaeva\AppData\Local\Temp\brut_util_Jar_3743708590306886363.tmp, p, --forced-package-i
d, 127, --min-sdk-version, 18, --target-sdk-version, 18, --version-code, 18, --version-name, 4.3-I9300XXUGMJ9, -F, C:\Us
ers\dnaeva\AppData\Local\Temp\APKTOOL3914133782757409911.tmp, -0, arsc, -I, C:\Users\dnaeva\apktool\framework\1.apk, -S,
C:\android\Apk_Manager_jb\other\SystemUI\res, -M, C:\android\Apk_Manager_jb\other\SystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:434)
at brut.androlib.Androlib.buildResources(Androlib.java:362)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:233)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\dnaeva\AppData\
Local\Temp\brut_util_Jar_3743708590306886363.tmp, p, --forced-package-id, 127, --min-sdk-version, 18, --target-sdk-versi
on, 18, --version-code, 18, --version-name, 4.3-I9300XXUGMJ9, -F, C:\Users\dnaeva\AppData\Local\Temp\APKTOOL391413378275
7409911.tmp, -0, arsc, -I, C:\Users\dnaeva\apktool\framework\1.apk, -S, C:\android\Apk_Manager_jb\other\SystemUI\res, -M
, C:\android\Apk_Manager_jb\other\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:481)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:415)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\dnaeva\AppData\Local\Temp\brut_util_Jar_37437085
90306886363.tmp, p, --forced-package-id, 127, --min-sdk-version, 18, --target-sdk-version, 18, --version-code, 18, --ver
sion-name, 4.3-I9300XXUGMJ9, -F, C:\Users\dnaeva\AppData\Local\Temp\APKTOOL3914133782757409911.tmp, -0, arsc, -I, C:\Use
rs\dnaeva\apktool\framework\1.apk, -S, C:\android\Apk_Manager_jb\other\SystemUI\res, -M, C:\android\Apk_Manager_jb\other
\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:475)
... 6 more
C:\android\Apk_Manager_jb\other>
Otz
Code:
\SystemUI\res\layout\system_bar_notification_panel_title.xml
@style/SystemBarNotificationText -> [email protected]/SystemBarNotificationText
\SystemUI\res\layout\system_bar_settings_view.xml
@style/SystemBarPanelSettingsRow -> [email protected]/SystemBarPanelSettingsRow
@style/SystemBarPanelSettingsIcon -> [email protected]/SystemBarPanelSettingsIcon
@style/SystemBarPanelSettingsContents -> [email protected]/SystemBarPanelSettingsContents
@style/SystemBarPanelSettingsPanelSeparator -> [email protected]/SystemBarPanelSettingsPanelSeparator
Oh....
dnaeva said:
SystemUI\res\layout\system_bar_notification_panel_title.xml
Oh....
Click to expand...
Click to collapse
See this post
SystemUI compiling error

[Q] apktool error: error: No resource identifier found for attribute...?

i try decompile settings.apk (cm9) and recompile it without changing any thing and get this error: ị just updated apktool to lastest: 2.00 beta 9, latest java 7 u 55, re-install java.. but not resolve problem. please help me! thanks
Code:
--------------------------------------------------------------------------
|Fri 05/23/2014 -- 15:50:46.82|
--------------------------------------------------------------------------
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) Client VM (build 24.55-b03, mixed mode, sharing)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\HA TRUNG KIEN\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res\layout\lockscreen_targets.xml:7: error: No resource identifier found for attribute 'rightChevronDrawable' in package 'android'
D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res\layout\lockscreen_targets.xml:7: error: No resource identifier found for attribute 'hitRadius' in package 'android'
D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res\layout\lockscreen_targets.xml:7: error: No resource identifier found for attribute 'verticalOffset' in package 'android'
D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res\layout\lockscreen_targets.xml:7: error: No resource identifier found for attribute 'horizontalOffset' in package 'android'
D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'rightChevronDrawable' in package 'android'
D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'hitRadius' in package 'android'
D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'verticalOffset' in package 'android'
D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'horizontalOffset' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\HATRUN~1\AppData\Local\Temp\APKTOOL8248359115018077797.tmp, -I, C:\Users\HA TRUNG KIEN\apktool\framework\1.apk, -S, D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res, -M, D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\HATRUN~1\AppData\Local\Temp\APKTOOL8248359115018077797.tmp, -I, C:\Users\HA TRUNG KIEN\apktool\framework\1.apk, -S, D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res, -M, D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\HATRUN~1\AppData\Local\Temp\APKTOOL8248359115018077797.tmp, -I, C:\Users\HA TRUNG KIEN\apktool\framework\1.apk, -S, D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res, -M, D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more

[Q&A] [Windows][UTILITY][TOOL] APK Multi-Tool

Q&A for [Windows][UTILITY][TOOL] APK Multi-Tool
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [Windows][UTILITY][TOOL] APK Multi-Tool. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Issue Explianed
bovirus said:
Please read carefully the answer and can image that YOU are wrong.
You are talking about an object that YOU DON'T KNOW.
As I explained the folder/storage unit is not part of this tools.
This tool decompress/recompress/sign the apk. That's all.
All other activities are out of this thread.
Click to expand...
Click to collapse
They are referring to the SystemUI.apk location change as of 4.4 KitKat or higher see URL: android.googlesource.com/platform/frameworks/base/+/ccbf84f
The system.bat file in the other directory is the issue; I have added the SystemUI.apk location and corrected some typos to the system.bat file for use on 4.4 Kitkat or higher.
I added lines 21, 45-46.
Code:
@ECHO off
COLOR 0A
ECHO *********************************************************************************
ECHO * *
ECHO * We are about to pull the needed Dependencies from your phone *
ECHO * This Is a Universal Script Designed to attempt to pull all needed Files *
ECHO * *
ECHO *********************************************************************************
pause
cls
ECHO *********************************************************************************
ECHO * *
ECHO * All ROMs Froyo and above require the system/framework/framework-res.apk *
ECHO * All ROMs Gingerbread and above require the /system/app/SystemUI.apk *
ECHO * All Samsung ROMs require the /system/framework/twframework-res.apk *
ECHO * All Sense UI ROMs require the system/framework/com.htc.resources.apk *
ECHO * All Xperia ROMs require the system/framework/SemcGenericUxpRes.apk *
ECHO * All XNote ROMs require the system/framework/lidroid-res.apk *
ECHO * All mediatek chipset Devices require the system/framework/mediatek-res.apk *
ECHO * All MIUI ROMs may require the system/framework/framework-miui.apk *
ECHO * ALL v4.4 KitKat and above require the /system/priv-app/SystemUI.apk *
ECHO * *
ECHO *********************************************************************************
pause
ECHO. Waiting for device...
adb kill-server
adb wait-for-device
ECHO *********************************************************************************
ECHO * *
ECHO * Device found Beginning system pull from required files from phone *
ECHO * Please note that not all phones will have all the files listed above *
ECHO * *
ECHO *********************************************************************************
ECHO. Device found.
ECHO attempting to pull framework-res.apk
adb pull system/framework/framework-res.apk
ECHO attempting to pull twframework-res.apk
adb pull system/framework/twframework-res.apk
ECHO attempting to pull com.htc.resources.apk
adb pull system/framework/com.htc.resources.apk
ECHO attempting to pull SemcGenericUxpRes.apk
adb pull system/framework/SemcGenericUxpRes.apk
ECHO attempting to pull SystemUI.apk
adb pull system/app/SystemUI.apk
ECHO attempting to pull SystemUI.apk for v4.4 KitKat and above
adb pull system/priv-app/SystemUI.apk
ECHO attempting to pull lidroid-res.apk
adb pull system/framework/lidroid-res.apk
ECHO attempting to pull mediatek-res.apk
adb pull system/framework/mediatek-res.apk
ECHO attempting to pull framework-miui.apk
adb pull system/framework/framework-miui.apk
pause
ECHO. System pull complete Killing ADB
adb kill-server
ECHO. ADB KILLED NOW Returning to main menu
pause
exit
Error while recompiling whatsapp APK
i was re-compiling an APK , even without modifying it and i keep getting this Error:
PHP:
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: I: Using Apktool 2.0.0-Beta9 on 0677E8'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: I: Copying classes.dex file...'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: I: Checking whether resources has changed...'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: I: Building resources...'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:26: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:25: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:32: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:31: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:42: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:41: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:46: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:45: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\WINDOWS\TEMP\brut_util_Jar_3546478640296757729.tmp, p, --forced-package-id, 127, --min-sdk-version, 7, --target-sdk-version, 19, --version-code, 450148, --version-name, 2.11.432, -F, C:\WINDOWS\TEMP\APKTOOL6149196810369000739.tmp, -I, C:\Users\XXXX\apktool\framework\1.apk, -S, C:\WINDOWS\TEMP\0677E8\res, -M, C:\WINDOWS\TEMP\0677E8\AndroidManifest.xml]'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResources(Androlib.java:363)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.build(Androlib.java:286)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.build(Androlib.java:258)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.apktool.Main.cmdBuild(Main.java:236)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.apktool.Main.main(Main.java:88)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\WINDOWS\TEMP\brut_util_Jar_3546478640296757729.tmp, p, --forced-package-id, 127, --min-sdk-version, 7, --target-sdk-version, 19, --version-code, 450148, --version-name, 2.11.432, -F, C:\WINDOWS\TEMP\APKTOOL6149196810369000739.tmp, -I, C:\Users\XXXX\apktool\framework\1.apk, -S, C:\WINDOWS\TEMP\0677E8\res, -M, C:\WINDOWS\TEMP\0677E8\AndroidManifest.xml]'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: ... 5 more'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: Caused by: brut.common.BrutException: could not exec command: [C:\WINDOWS\TEMP\brut_util_Jar_3546478640296757729.tmp, p, --forced-package-id, 127, --min-sdk-version, 7, --target-sdk-version, 19, --version-code, 450148, --version-name, 2.11.432, -F, C:\WINDOWS\TEMP\APKTOOL6149196810369000739.tmp, -I, C:\Users\XXXX\apktool\framework\1.apk, -S, C:\WINDOWS\TEMP\0677E8\res, -M, C:\WINDOWS\TEMP\0677E8\AndroidManifest.xml]'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.util.OS.exec(OS.java:89)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: ... 6 more'
any and i trace the XML and i found the (android:searchViewEditQuery) & (android:searchViewVoiceIcon) already defined !!
plz help
the same Error!!
i got this error too by using APkMultiTool
PHP:
[C:\WINDOWS\TEMP
\brut_util_Jar_3333383656781163009.tmp, p, --forced-package-id, 127, --min-sdk-v
ersion, 7, --target-sdk-version, 19, --version-code, 450148, --version-name, 2.1
1.432, -F, C:\WINDOWS\TEMP\APKTOOL2640143219887317542.tmp, -I, C:\Users\XXXXX\a
pktool\framework\1.apk, -S, C:\Users\XXXXX\APK-Multi-Tool-WIP-2.0\projects\What
sapp64.apk\res, -M, C:\Users\XXXXX\APK-Multi-Tool-WIP-2.0\projects\Whatsapp64.a
pk\AndroidManifest.xml]
Please help , it used to work before, the previous was by using (Virtuous Ten Studio) and this one was by ApkMultiTool "ApkManager_ics" the stable one
f.alansari said:
i was re-compiling an APK , even without modifying it and i keep getting this Error:
PHP:
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: I: Using Apktool 2.0.0-Beta9 on 0677E8'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: I: Copying classes.dex file...'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: I: Checking whether resources has changed...'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: I: Building resources...'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:26: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:25: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:32: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:31: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:42: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:41: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:46: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: C:\WINDOWS\TEMP\0677E8\res\values-v19\styles.xml:45: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'.'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\WINDOWS\TEMP\brut_util_Jar_3546478640296757729.tmp, p, --forced-package-id, 127, --min-sdk-version, 7, --target-sdk-version, 19, --version-code, 450148, --version-name, 2.11.432, -F, C:\WINDOWS\TEMP\APKTOOL6149196810369000739.tmp, -I, C:\Users\XXXX\apktool\framework\1.apk, -S, C:\WINDOWS\TEMP\0677E8\res, -M, C:\WINDOWS\TEMP\0677E8\AndroidManifest.xml]'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResources(Androlib.java:363)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.build(Androlib.java:286)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.build(Androlib.java:258)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.apktool.Main.cmdBuild(Main.java:236)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.apktool.Main.main(Main.java:88)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\WINDOWS\TEMP\brut_util_Jar_3546478640296757729.tmp, p, --forced-package-id, 127, --min-sdk-version, 7, --target-sdk-version, 19, --version-code, 450148, --version-name, 2.11.432, -F, C:\WINDOWS\TEMP\APKTOOL6149196810369000739.tmp, -I, C:\Users\XXXX\apktool\framework\1.apk, -S, C:\WINDOWS\TEMP\0677E8\res, -M, C:\WINDOWS\TEMP\0677E8\AndroidManifest.xml]'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: ... 5 more'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: Caused by: brut.common.BrutException: could not exec command: [C:\WINDOWS\TEMP\brut_util_Jar_3546478640296757729.tmp, p, --forced-package-id, 127, --min-sdk-version, 7, --target-sdk-version, 19, --version-code, 450148, --version-name, 2.11.432, -F, C:\WINDOWS\TEMP\APKTOOL6149196810369000739.tmp, -I, C:\Users\XXXX\apktool\framework\1.apk, -S, C:\WINDOWS\TEMP\0677E8\res, -M, C:\WINDOWS\TEMP\0677E8\AndroidManifest.xml]'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.util.OS.exec(OS.java:89)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)'
03:20:37.120: [Error] - ApkTool.CompileApk: 'ApkTool: ... 6 more'
any and i trace the XML and i found the (android:searchViewEditQuery) & (android:searchViewVoiceIcon) already defined !!
plz help
Click to expand...
Click to collapse
When I got this error it was the framework that was installed was not the one the apk file your are trying to compile was made for. Make sure the framework you use is the same one the apk your compiling runs on.
sixxkilur said:
When I got this error it was the framework that was installed was not the one the apk file your are trying to compile was made for. Make sure the framework you use is the same one the apk your compiling runs on.
Click to expand...
Click to collapse
how do i know the correct one? or from where i obtain it?
f.alansari said:
how do i know the correct one? or from where i obtain it?
Click to expand...
Click to collapse
Your best bet is pull the framework directly from the device.
I ran into this issue when I was attempting to compile a theme apk that was designed for CyanogenMod 11 while there was a framework from a touchwiz rom in the other directory and it was also one of my installed frameworks.
I tried different version of APK tools and got the same errors.
I then pulled the framework file from the device running CyanogenMod C11 and installed that one and the errors are gone.
The basics, if your apk will install and run fine on your current OS on your device then pull that framework and or SystemUI.apk then you should be good to go.
Error Decompiling..
--------------------------------------------------------------------------
|Fri 03/27/2015 -- 13:53:30.52|
--------------------------------------------------------------------------
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
Input file (Xiao\Documents\APK-Multi-Tool\projects/framework-res.apk) was not found or was not readable.
--------------------------------------------------------------------------
|Fri 03/27/2015 -- 13:57:34.10|
--------------------------------------------------------------------------
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
The directory name is invalid.
The directory is not empty.
Input file (Xiao\Documents\APK-Multi-Tool\projects/framework-res.apk) was not found or was not readable.
(call was unexpected at this time.
--------------------------------------------------------------------------
|Fri 03/27/2015 -- 13:59:05.20|
--------------------------------------------------------------------------
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
Input file (Xiao\Documents\APK-Multi-Tool\projects/framework-res.apk) was not found or was not readable.
i have done all the procedure ,but i cant still decompile the apk. pls ....help
problem on decompile
Hi ! everbody!
i have problem on decompile an apk file ... when i try apl multi tool .. i get this erorr :
Code:
--------------------------------------------------------------------------
|Thu 04/23/2015 -- 18:42:38.04|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
at brut.androlib.Androlib.getResTable(Androlib.java:50)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:102)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
Press any key to continue . . .
apk file is com.ngb.wpsconnect.aps that i attach here
please help me , ty
hey anyone can help me ?
No answer ???
Up
http://forum.xda-developers.com/showthread.php?t=1310151
So I followed the link supplied within this thread, to a "Hugefiles.net" url .... Next thing you know I have 5000 pop ups, fake virus alert messages from the website.... (shaking my head)
do you think we can talk the poster of the APK Multitool 2.0 to hosting it on DROPBOX? Its FREE ya know. And then we wont have to deal with the annoyances associated with trying to download your stuff.
Thanks.

Categories

Resources