vjahire / apktool

Automatically exported from code.google.com/p/apktool
0 stars 0 forks source link

Canot recompile SecSettings.apk #15

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. i canot recompile SecSettings.apk 
2.
3.

What is the expected output? What do you see instead?

I: Smaling...
I: Building resources...
    (skipping file 'strings.xml~' due to ANDROID_AAPT_IGNORE pattern '*~')
    (skipping file 'ids.xml~' due to ANDROID_AAPT_IGNORE pattern '*~')
/mnt/extSdCard/apktool_armel4.3.1/SecSettings_src/res/drawable/tab_indicator.xml
:6: error: Error: No resource found that matches the given name (at 'drawable' 
with value '@drawable/tab_focus').
/mnt/extSdCard/apktool_armel4.3.1/SecSettings_src/res/drawable/tab_indicator.xml
:7: error: Error: No resource found that matches the given name (at 'drawable' 
with value '@drawable/tab_focus').
aapt: warning: string 
'lgt_service_global_auto_roaming_call_customcenter_summary_nocall' has no 
default translation in /mnt/extSdCard/apktool_armel4.3.1/SecSettings_src/res; 
found: de es_ES fr it pl ru
aapt: warning: string 'onscreen_keypad' has no default translation in 
/mnt/extSdCard/apktool_armel4.3.1/SecSettings_src/res; found: ar az bg ca cs da 
de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw 
ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz 
vi zh_CN zh_HK zh_SG zh_TW
Exception in thread "main" brut.androlib.AndrolibException: 
brut.androlib.AndrolibException: brut.common.BrutException: could not exec 
command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 16, 
--target-sdk-version, 16, -F, 
/data/data/per.pqy.apktool/APKTOOL3049528306648272256.tmp, -I, 
?/apktool/framework/1.apk, -S, 
/mnt/extSdCard/apktool_armel4.3.1/SecSettings_src/res, -M, 
/mnt/extSdCard/apktool_armel4.3.1/SecSettings_src/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: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 
16, --target-sdk-version, 16, -F, 
/data/data/per.pqy.apktool/APKTOOL3049528306648272256.tmp, -I, 
?/apktool/framework/1.apk, -S, 
/mnt/extSdCard/apktool_armel4.3.1/SecSettings_src/res, -M, 
/mnt/extSdCard/apktool_armel4.3.1/SecSettings_src/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: 
[/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 16, 
--target-sdk-version, 16, -F, 
/data/data/per.pqy.apktool/APKTOOL3049528306648272256.tmp, -I, 
?/apktool/framework/1.apk, -S, 
/mnt/extSdCard/apktool_armel4.3.1/SecSettings_src/res, -M, 
/mnt/extSdCard/apktool_armel4.3.1/SecSettings_src/AndroidManifest.xml]
    at brut.util.OS.exec(OS.java:89)
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
    ... 6 more

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by Shalsasa...@gmail.com on 26 Nov 2013 at 7:06

GoogleCodeExporter commented 8 years ago
Have you edited 
/mnt/extSdCard/apktool_armel4.3.1/SecSettings_src/res/drawable/tab_indicator.xml
?
You can googling "Error: No resource found that matches the given name".

Original comment by dongfangxunlei@gmail.com on 27 Nov 2013 at 1:59