Post Reply

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

23rd May 2014, 09:45 AM   |  #1  
OP Senior Member
Thanks Meter: 48
 
245 posts
Join Date:Joined: Aug 2013
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
Last edited by kien_vip; 23rd May 2014 at 09:51 AM.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in Android Q&A, Help & Troubleshooting by ThreadRank