sky201503 / android-apktool2

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

No resource identifier found for attribute #227

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.decompile browser.apk from epic 4g touch
2.edited /res/values/arrays.xml
3.recompiled using no options

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

I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'pref_extras_change_view_mode' has no default translation 
in /home/ben/android-sdk-linux_x86/epic2browser/res; found: es
    (skipping backup file '/home/ben/android-sdk-linux_x86/epic2browser/res/values/arrays.xml~')
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/active_tabs.xml:10: 
error: No resource identifier found for attribute 'twSoftkeyItemType' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/active_tabs.xml:10: 
error: No resource identifier found for attribute 'twSoftkeyItemText' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout-land/active_tabs.xml:10:
 error: No resource identifier found for attribute 'twSoftkeyItemType' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout-land/active_tabs.xml:10:
 error: No resource identifier found for attribute 'twSoftkeyItemText' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/bookmark_delete_list.xml
:11: error: No resource identifier found for attribute 'twSoftkeyItemType' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/bookmark_delete_list.xml
:11: error: No resource identifier found for attribute 'twSoftkeyItemText' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/bookmark_delete_list.xml
:12: error: No resource identifier found for attribute 'twSoftkeyItemType' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/bookmark_delete_list.xml
:12: error: No resource identifier found for attribute 'twSoftkeyItemText' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/bookmark_move_list.xml:1
1: error: No resource identifier found for attribute 'twSoftkeyItemType' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/bookmark_move_list.xml:1
1: error: No resource identifier found for attribute 'twSoftkeyItemText' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/bookmark_move_list.xml:1
2: error: No resource identifier found for attribute 'twSoftkeyItemType' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/bookmark_move_list.xml:1
2: error: No resource identifier found for attribute 'twSoftkeyItemText' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/bookmark_reorder_grid.xm
l:7: error: No resource identifier found for attribute 'twSoftkeyItemType' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/bookmark_reorder_grid.xm
l:7: error: No resource identifier found for attribute 'twSoftkeyItemText' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/bookmark_reorder_grid.xm
l:8: error: No resource identifier found for attribute 'twSoftkeyItemType' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/bookmark_reorder_grid.xm
l:8: error: No resource identifier found for attribute 'twSoftkeyItemText' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout-land/bookmark_reorder_gr
id.xml:7: error: No resource identifier found for attribute 'twSoftkeyItemType' 
in package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout-land/bookmark_reorder_gr
id.xml:7: error: No resource identifier found for attribute 'twSoftkeyItemText' 
in package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout-land/bookmark_reorder_gr
id.xml:8: error: No resource identifier found for attribute 'twSoftkeyItemType' 
in package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout-land/bookmark_reorder_gr
id.xml:8: error: No resource identifier found for attribute 'twSoftkeyItemText' 
in package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/bookmark_reorder_list.xm
l:7: error: No resource identifier found for attribute 'twSoftkeyItemType' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/bookmark_reorder_list.xm
l:7: error: No resource identifier found for attribute 'twSoftkeyItemText' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/bookmark_reorder_list.xm
l:8: error: No resource identifier found for attribute 'twSoftkeyItemType' in 
package 'touchwiz'
/home/ben/android-sdk-linux_x86/epic2browser/res/layout/bookmark_reorder_list.xm
l:8: error: No resource identifier found for attribute 'twSoftkeyItemText' in 
package 'touchwiz'
Exception in thread "main" brut.androlib.AndrolibException: 
brut.common.BrutException: could not exec command: [aapt, p, -F, 
/tmp/APKTOOL1686256517563279311.tmp, -I, 
/home/ben/apktool/framework/1-epic2.apk, -I, /home/ben/apktool/framework/2.apk, 
-S, /home/ben/android-sdk-linux_x86/epic2browser/res, -M, 
/home/ben/android-sdk-linux_x86/epic2browser/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:174)
        at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, 
/tmp/APKTOOL1686256517563279311.tmp, -I, 
/home/ben/apktool/framework/1-epic2.apk, -I, /home/ben/apktool/framework/2.apk, 
-S, /home/ben/android-sdk-linux_x86/epic2browser/res, -M, 
/home/ben/android-sdk-linux_x86/epic2browser/AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:83)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
        ... 6 more

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

Please provide any additional information below.

I also pulled the framework from the phone and decompiled via tagging.

Original issue reported on code.google.com by RetroVe...@gmail.com on 13 Oct 2011 at 4:23

GoogleCodeExporter commented 9 years ago

Original comment by connor.tumbleson on 18 Nov 2012 at 9:09