Help me with this apktool error please - Nexus 4 Q&A, Help & Troubleshooting

Hello Everyone. I was trying to mod a few of JB 4,3 apps of Xperia T and when installing the framework semcgenericuxpres.apk in apktool I get the following errors. Can someone please tell me what am i doing wrong. I am able to install framework.res.apk but not semcgenericuxpre.apk. Please help me . please :
The error :
11:31:02.750: [Normal] - ApkTool.InstallFramework: 'Installing framework, tag: 1, file: SemcGenericUxpRes.apk'
11:31:02.910: [Error] - ApkTool.InstallFramework: 'ApkTool: Exception in thread "main" brut.androlib.AndrolibException: Multiple types: <empty>'
11:31:02.910: [Error] - ApkTool.InstallFramework: 'ApkTool: at brut.androlib.res.data.ResPackage.addType(ResPackage.java:172)'
11:31:02.910: [Error] - ApkTool.InstallFramework: 'ApkTool: at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:132)'
11:31:02.910: [Error] - ApkTool.InstallFramework: 'ApkTool: at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:110)'
11:31:02.910: [Error] - ApkTool.InstallFramework: 'ApkTool: at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)'
11:31:02.910: [Error] - ApkTool.InstallFramework: 'ApkTool: at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)'
11:31:02.910: [Error] - ApkTool.InstallFramework: 'ApkTool: at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)'
11:31:02.910: [Error] - ApkTool.InstallFramework: 'ApkTool: at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:562)'
11:31:02.910: [Error] - ApkTool.InstallFramework: 'ApkTool: at brut.androlib.Androlib.installFramework(Androlib.java:473)'
11:31:02.910: [Error] - ApkTool.InstallFramework: 'ApkTool: at brut.apktool.Main.cmdInstallFramework(Main.java:250)'
11:31:02.910: [Error] - ApkTool.InstallFramework: 'ApkTool: at brut.apktool.Main.main(Main.java:81)'
11:31:02.910: [Error] - ApkTool.InstallFramework: 'ApkTool install framework failed, see log for further details. '
11:31:02.910: [Debug] - ApkTool.InstallFramework: 'Exitcode: 1'
Click to expand...
Click to collapse

Why you post that in Nexus 4 Forum?
Found your thread while searching around xda. i have the same problem, so you not alone :victory:
I guess you have the same Versions, from the leaked firmware, deodexed yourself?
If i find a solution, i tell you.

Related

Touchscreen Unresponsive - Logcat Inside

Hi all,
I've had my Magic since September and for the last few weeks it has intermittently been unresponsive to touch, the screen displays fine but it won't acknowledge any touch. In the last 2 days this has gotten a lot worse and now it barely works at all.
Any attempt to access the Contacts/Dialer throws up a Force close on process com.android.phone
Initially I thought this was a software problem but now I am not so sure. I have reverted back to the stock Vodafone AU rom that I backed up when I initially purchased and am getting ready to send back to HTC but thought I would ask on here as well.
Below is the logcat from a fresh reboot - Quite a few errors I think
Code:
E:\HTC Magic Tools\android-sdk-windows\tools>adb logcat -b main *:W
E/RIL Acoustic( 33): can't open /dev/htc-acoustic -1
E/HTC Acoustic( 35): Fail to open /system/etc/AudioPara_VODA-Australia.csv -1.
E/A2DP ( 35): bt_audio_service_open failed
E/A2dpAudioInterface( 35): a2dp_init failed err: -111
E/AudioFlinger( 35): mA2dpDisableCount is already zero
W/SurfaceFlinger( 58): couldn't grant gpu core to pid 58
E/GLLogger( 58): h/w accelerated eglGetDisplay() failed (EGL_SUCCESS)
W/HAL ( 58): load: module=/system/lib/hw/copybit.sapphire.so error=Cannot
find library
W/HAL ( 58): load: module=/system/lib/hw/copybit.sapphire.so error=Cannot
find library
W/HAL ( 58): load: module=/system/lib/hw/copybit.sapphire.so error=Cannot
find library
W/HAL ( 58): load: module=/system/lib/hw/copybit.sapphire.so error=Cannot
find library
W/HAL ( 58): load: module=/system/lib/hw/overlay.sapphire.so error=Cannot
find library
W/HAL ( 58): load: module=/system/lib/hw/overlay.sapphire.so error=Cannot
find library
W/HAL ( 58): load: module=/system/lib/hw/overlay.msm7k.so error=Cannot fin
d library
W/HAL ( 58): load: module=/system/lib/hw/overlay.default.so error=Cannot f
ind library
W/HAL ( 58): load: module=/system/lib/hw/lights.sapphire.so error=Cannot f
ind library
W/HAL ( 58): load: module=/system/lib/hw/lights.sapphire.so error=Cannot f
ind library
E/lights ( 58): write_int failed to open /sys/class/leds/keyboard-backlight/b
rightness
W/ResourceType( 58): No package identifier when getting value for resource num
ber 0x7f060001
W/ResourceType( 58): No package identifier when getting value for resource num
ber 0x7f030003
W/ResourceType( 58): No package identifier when getting value for resource num
ber 0x7f030000
W/ResourceType( 58): No package identifier when getting value for resource num
ber 0x7f03000c
W/ResourceType( 58): No package identifier when getting value for resource num
ber 0x7f030000
W/ResourceType( 58): No package identifier when getting value for resource num
ber 0x00000000
W/StatusBar( 58): Icon not found in <system>: 0
W/CheckinService( 58): No saved kernel log file
E/ApplicationContext( 58): Couldn't create directory for SharedPreferences fil
e shared_prefs/wallpaper-hints.xml
W/ActivityManager( 58): Unable to start service Intent { action=com.android.us
sd.IExtendedNetworkService }: not found
W/SurfaceFlinger( 58): executeScheduledBroadcasts() skipped, contention on the
client. We'll try again later...
W/AudioFlinger( 35): write blocked for 111 msecs
Thanks in advance for any assistance you can offer me, it would be really appreciated!!
Let me know if you need further info
Some further information
If I try to open Contacts using the trackball the Logcat expands to add the following: -
Code:
W/InputManagerService( 58): Window already focused, ignoring focus gain of: co
[email protected]
W/ResourceType( 95): Failure getting entry for 0x7f030005 (t=2 e=5) in package
0: 0xffffffb5
W/dalvikvm( 95): threadid=3: thread exiting with uncaught exception (group=0x4
000fe70)
E/AndroidRuntime( 95): Uncaught handler: thread main exiting due to uncaught e
xception
E/AndroidRuntime( 95): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.android.contacts/com.android.contacts.DialtactsActivity}: androi
d.content.res.Resources$NotFoundException: Resource ID #0x7f030005
E/AndroidRuntime( 95): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2268)
E/AndroidRuntime( 95): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2284)
E/AndroidRuntime( 95): at android.app.ActivityThread.access$1800(Activi
tyThread.java:112)
E/AndroidRuntime( 95): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1692)
E/AndroidRuntime( 95): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 95): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 95): at android.app.ActivityThread.main(ActivityThrea
d.java:3948)
E/AndroidRuntime( 95): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 95): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 95): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 95): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:540)
E/AndroidRuntime( 95): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 95): Caused by: android.content.res.Resources$NotFoundExcept
ion: Resource ID #0x7f030005
E/AndroidRuntime( 95): at android.content.res.Resources.getValue(Resour
ces.java:846)
E/AndroidRuntime( 95): at android.content.res.Resources.loadXmlResource
Parser(Resources.java:1796)
E/AndroidRuntime( 95): at android.content.res.Resources.getLayout(Resou
rces.java:685)
E/AndroidRuntime( 95): at android.view.LayoutInflater.inflate(LayoutInf
later.java:318)
E/AndroidRuntime( 95): at android.view.LayoutInflater.inflate(LayoutInf
later.java:276)
E/AndroidRuntime( 95): at com.android.internal.policy.impl.PhoneWindow.
setContentView(PhoneWindow.java:309)
E/AndroidRuntime( 95): at android.app.Activity.setContentView(Activity.
java:1626)
E/AndroidRuntime( 95): at com.android.contacts.DialtactsActivity.onCrea
te(DialtactsActivity.java:73)
E/AndroidRuntime( 95): at android.app.Instrumentation.callActivityOnCre
ate(Instrumentation.java:1123)
E/AndroidRuntime( 95): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2231)
E/AndroidRuntime( 95): ... 11 more
W/ActivityManager( 58): Scheduling restart of crashed service com.google.andro
id.apps.gtalkservice/com.google.android.gtalkservice.service.GTalkService in 500
0ms
W/InputManagerService( 58): Got RemoteException sending setActive(false) notif
ication to pid 95 uid 10004

[Q] Why Edited HTC_IME.apk Force Close

Hi,
I'm trying to edit the HTC_IME.apk that came from tha "Deodexed" package to change the FR Azerty keyboard to a QWERTY one.
I extract the APK with apktool: "apktool d HTC_IME.apk c:\HTC_IME\"
I then replace the content of the 2 (portrait and landscape) XML file of the keyboard layout to have what I want.
I repack the APK with apktool: "apktool b c:\HTC_IME\ c:\HTC_IME.apk"
I then re-sign the new package with the autosign.bat utility.
I push it in /system/app to replace the original one that came with the "RodriguezStyle_MoDaCoMoDrOm_V2-3_FIX_Vivid_Sense_A2SD" rom and reboot the phone.
It's all seem ok but as soon as I start the keyboard I get a force close.
I've also try to modify the htc_ime_lo mod by jonasl but it does the same thing. I can install it but as soon as it try to start, force close
Does I have missed something about editing XML file of an APK ? It's the first time I try.
EDIT:
I know it's possible, they do it in the apktool demo!! youtube.com/watch?v=1Aa9zsh6F7A
Thanks !
mr_sarge said:
Hi,
I'm trying to edit the HTC_IME.apk that came from tha "Deodexed" package to change the FR Azerty keyboard to a QWERTY one.
I extract the APK with apktool: "apktool d HTC_IME.apk c:\HTC_IME\"
I then replace the content of the 2 (portrait and landscape) XML file of the keyboard layout to have what I want.
I repack the APK with apktool: "apktool b c:\HTC_IME\ c:\HTC_IME.apk"
I then re-sign the new package with the autosign.bat utility.
I push it in /system/app to replace the original one that came with the "RodriguezStyle_MoDaCoMoDrOm_V2-3_FIX_Vivid_Sense_A2SD" rom and reboot the phone.
It's all seem ok but as soon as I start the keyboard I get a force close.
I've also try to modify the htc_ime_lo mod by jonasl but it does the same thing. I can install it but as soon as it try to start, force close
Does I have missed something about editing XML file of an APK ? It's the first time I try.
Thanks !
Click to expand...
Click to collapse
I'm using it in the hd2 and I installed HTC_ime.apk and clicker.apk
Sent from my HTC HD2 using Tapatalk
Forgot to tell that I have a HTC Legend from Virgin that came with a QWERTY French HTC_IME.
But can't get it with any custom rom since "French (Canada)" is not a choice in the language option. I've downloaded "morelocale 2" to set Fr_CF but it don't give the QWERTY French keyboard.
If I put an umnodified HTC_IME.apk in /system/app or try to instal unmodified HTC_IME_lo.apk (Jonasl mod) it work.
If I try to rebuild one, changing "land_qwery_fr.xm"l and "qwerty_fr.xml" in "/res/xml/" so that when my HTC is in French, my keyboard appear in QWERTY produce the error each time I try.
Just tested it in the Android Emulator. The keyboard still fail with "The application HTC_IME mod (process jonasl.ime) has stopped unexpectedly. Please try again"
Same thing with the original HTC_IME.apk with edited qwerty_fr.xml file.
I don't know what is wrong...
Me again,
Juste tested decompile-recompile-signing without doing anything to the file and the keyboard crash in US and in French.
Why I'm not able to reocompile this APK !
few steps
Did you try to look at the difference of sizes of the .apk package? sometimes a device wants uncompressed apk, when apktool always compress it.
Try to just pull the .apk resign it and push it back, if it crashes it may mean that the rom rejects its signature and you should resign all /system/app and /system/framework directories with the same key.
And you always can look at logcat to identify the problem( by reading the stack trace) which can tell you where there is a problem inside the flow of the program- just in case you edited something you shouldnt
I've just resign HTC_IME_lo.apk without decompile and recompiling it and the apk work.
I will put the log here because I'm not sure what to check !
Ho, and when I compile the apk back, I got some error:
Code:
>apktool b HTC_IME\
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'kb_tutorial_fuzzy_body' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
aapt: warning: string 'kb_tutorial_fuzzy_title' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
aapt: warning: string 'kb_tutorial_longpress_body' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
aapt: warning: string 'kb_tutorial_longpress_title' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
aapt: warning: string 'kb_tutorial_main_desc' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
aapt: warning: string 'kb_tutorial_main_title' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
aapt: warning: string 'keyboard_ime_settings_fqwerty_space_title' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
aapt: warning: string 'main_menu_title' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
aapt: warning: string 'vibration_feedback' has no default translation in C:\Users\SaRgE\Desktop\apktool1.3.2\HTC_IME\res; found: no
I: Copying libs...
I: Building apk file...
C:\Users\SaRgE\Desktop\apktool1.3.2>
Here's the log. I didn't touch anything. Only decompile-recompile-sign:
Code:
I/ActivityManager( 67): Start proc jonasl.ime for service jonasl.ime/.HTCIMEService: pid=613 uid=10028 gids={1015}
W/InputManagerService( 67): Window already focused, ignoring focus gain of: [email protected]
D/dalvikvm( 613): Trying to load lib /data/data/jonasl.ime/lib/libt99.so 0x43d0c108
D/dalvikvm( 613): Added shared lib /data/data/jonasl.ime/lib/libt99.so 0x43d0c108
I/XT9_C ( 613): File "/data/data/jonasl.ime/udb" does not exist.
I/XT9_C ( 613): [loadDefaultRUDB] RUDB size = 20480 (loaded)
I/XT9_C ( 613): [RegisterXT9MDB] MDB size=64 (loaded)
I/XT9_C ( 613): Load mdbType=0 time=0.001671(sec)
I/XT9_JNI ( 613): [Java_T9_nativeLoad] Native side initialization done.
W/WindowManager( 67): Attempted to add window with non-application token WindowToken{43d320f8 token=null}. Aborting.
I/HTC_IME ( 613): onCreateInputView
D/ ( 613): unable to unlink '/data/data/jonasl.ime/shared_prefs/jonasl.i
me_preferences.xml.bak': No such file or directory (errno=2)
I/XT9_JNI ( 613): [Java_T9_nativeLoad] Native side is already initiated.
I/XT9_JNI ( 613): [Java_T9_nativeLoad] Native side is already initiated.
W/ResourceType( 613): No package identifier when getting name for resource number 0x00000000
E/Keyboard( 613): Parse error:android.content.res.Resources$NotFoundException:String resource ID #0x0
D/AndroidRuntime( 613): Shutting down VM
W/dalvikvm( 613): threadid=3: thread exiting with uncaught exception (group=0x4001b188)
E/AndroidRuntime( 613): Uncaught handler: thread main exiting due to uncaught exception
D/dalvikvm( 613): GC freed 3558 objects / 280264 bytes in 138ms
E/AndroidRuntime( 613): java.lang.NullPointerException
E/AndroidRuntime( 613): at com.htc.android.htcime.ezsip.EZSIPView.setKeyboard(EZSIPView.java:114)
E/AndroidRuntime( 613): at com.htc.android.htcime.ezsip.PortQwertySIPView.setKeyboardbyLang(PortQwertySIPView.java:129)
E/AndroidRuntime( 613): at com.htc.android.htcime.ezsip.PortQwertySIPView.init(PortQwertySIPView.java:78)
E/AndroidRuntime( 613): at com.htc.android.htcime.util.CodeIMEFinder.loadAllIME(CodeIMEFinder.java:117)
E/AndroidRuntime( 613): at com.htc.android.htcime.HTCIMEService.execOnceAtBoot(HTCIMEService.java:1771)
E/AndroidRuntime( 613): at com.htc.android.htcime.HTCIMEService.onCreateInputView(HTCIMEService.java:176)
E/AndroidRuntime( 613): at android.inputmethodservice.InputMethodService.updateInputViewShown(InputMethodService.java:950)
E/AndroidRuntime( 613): at android.inputmethodservice.InputMethodService.showWindowInner(InputMethodService.java:1303)
E/AndroidRuntime( 613): at android.inputmethodservice.InputMethodService.showWindow(InputMethodService.java:1278)
E/AndroidRuntime( 613): at android.inputmethodservice.InputMethodService$InputMethodImpl.showSoftInput(InputMethodService.java:388)
E/AndroidRuntime( 613): at android.inputmethodservice.IInputMethodWrapper.executeMessage(IInputMethodWrapper.java:148)
E/AndroidRuntime( 613): at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:45)
E/AndroidRuntime( 613): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 613): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 613): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 613): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 613): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 613): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 613): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 613): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 67): Sending signal. PID: 613 SIG: 3
I/dalvikvm( 613): threadid=7: reacting to signal 3
E/dalvikvm( 613): Unable to open stack trace file '/data/anr/traces.txt': Permission denied
I/Process ( 706): Sending signal. PID: 706 SIG: 9
I/ActivityManager( 67): Process jonasl.ime (pid 706) has died.
W/ActivityManager( 67): Service crashed 2 times, stopping: ServiceRecord{43cb4aa8 jonasl.ime/.HTCIMEService}
And here's the log when the apps is working (before I try to decompile/reompile it):
Code:
I/ActivityManager( 67): Start proc jonasl.ime for service jonasl.ime/.HTCIMEService: pid=957 uid=10028 gids={1015}
D/dalvikvm( 957): Trying to load lib /data/data/jonasl.ime/lib/libt99.so 0x43d0c108
D/dalvikvm( 957): Added shared lib /data/data/jonasl.ime/lib/libt99.so 0x43d0c108
I/XT9_C ( 957): File "/data/data/jonasl.ime/udb" does not exist.
I/XT9_C ( 957): [loadDefaultRUDB] RUDB size = 20480 (loaded)
I/XT9_C ( 957): [RegisterXT9MDB] MDB size=64 (loaded)
I/XT9_C ( 957): Load mdbType=0 time=0.001726(sec)
I/XT9_JNI ( 957): [Java_T9_nativeLoad] Native side initialization done.
W/WindowManager( 67): Attempted to add window with non-application token WindowToken{43d320f8 token=null}. Aborting.
I/HTC_IME ( 957): onCreateInputView
D/ ( 957): unable to unlink '/data/data/jonasl.ime/shared_prefs/jonasl.ime_preferences.xml.bak': No such file or directory (errno=2)
I/XT9_JNI ( 957): [Java_T9_nativeLoad] Native side is already initiated.
I/XT9_JNI ( 957): [Java_T9_nativeLoad] Native side is already initiated.
D/dalvikvm( 957): GC freed 3655 objects / 280792 bytes in 147ms
I/HTC_IME_jonasl( 957): Current language not set, defaulting to 0 English
E/ActivityThread( 957): Failed to find provider info for customization_settings
E/ActivityThread( 957): Failed to find provider info for customization_settings
E/ActivityThread( 957): Failed to find provider info for customization_settings
E/ActivityThread( 957): Failed to find provider info for customization_settings
D/dalvikvm( 957): Trying to load lib /system/lib/libsoundpool.so 0x0
D/dalvikvm( 957): Added shared lib /system/lib/libsoundpool.so 0x0
W/Resources( 957): Converting to string: TypedValue{t=0x12/d=0x0 a=2 r=0x7f090195}
W/Resources( 957): Converting to string: TypedValue{t=0x12/d=0x0 a=2 r=0x7f090196}
D/dalvikvm( 957): GC freed 4366 objects / 388072 bytes in 41ms
I/XT9_C ( 957): [RegisterXT9MDB] MDB size=22112 (loaded)
I/XT9_C ( 957): Load mdbType=1 time=0.002322(sec)
D/dalvikvm( 957): GC freed 5519 objects / 327536 bytes in 72ms
try to use apktool 1.1
skoperst said:
try to use apktool 1.1
Click to expand...
Click to collapse
1.1 is throwing a lot or erroe like:
Code:
C:\Users\SaRgE\Desktop\apktool1.1.0\HTC_IME\smali\com\htc\android\htcime\R$string.smali[434,49] [smali_file, field, nonvoid_type_descriptor] mismatched input [@3068,14631:14632=':I',<158>,434:49] expecting set null
C:\Users\SaRgE\Desktop\apktool1.1.0\HTC_IME\smali\com\htc\android\htcime\R$string.smali[436,49] [smali_file, field, nonvoid_type_descriptor] mismatched input [@3081,14699:14700=':I',<158>,436:49] expecting set null
C:\Users\SaRgE\Desktop\apktool1.1.0\HTC_IME\smali\com\htc\android\htcime\R$string.smali[438,49] [smali_file, field, nonvoid_type_descriptor] mismatched input [@3094,14767:14768=':I',<158>,438:49] expecting set null
C:\Users\SaRgE\Desktop\apktool1.1.0\HTC_IME\smali\com\htc\android\htcime\R$string.smali[440,49] [smali_file, field, nonvoid_type_descriptor] mismatched input [@3107,14835:14836=':I',<158>,440:49] expecting set null
C:\Users\SaRgE\Desktop\apktool1.1.0\HTC_IME\smali\com\htc\android\htcime\R$string.smali[442,49] [smali_file, field, nonvoid_type_descriptor] mismatched input [@3120,14903:14904=':I',<158>,442:49] expecting set null
C:\Users\SaRgE\Desktop\apktool1.1.0\HTC_IME\smali\com\htc\android\htcime\R$string.smali[444,49] [smali_file, field, nonvoid_type_descriptor] mismatched input [@3133,14971:14972=':I',<158>,444:49] expecting set null
Maybe try apk manager
Already Tried it and it doeas the same thing. I've notified Brutt.All, the apktool creator. He have a bug with the latest version of apktool. see here: http://code.google.com/p/android-apktool/issues/detail?id=100
I will wait for is new version to see if it work.
Thanks
Have you solved the problem. I try to mod HTC_IME and has the same problem - repacked keyboard closes if you try to use it.

Need Help

Plz help me i trying to to theme my SystemUI.apk of Galaxy grand2 but When i compile it back to apk file then it gives an error...
How to solve it plz help
18:30:38.858: [Verbose] - BaseModule.ProcessVariable: 'SystemUI -> Copy files : Replacing variables in TargetDirectory: '$(TmpBuildDir)' --> 'C:\Users\BaBa\AppData\Local\Temp\0A64F0''
18:30:39.297: [Normal] - BaseModule.Execute: 'Executing: SystemUI -> Compile resources'
18:30:39.298: [Verbose] - BaseModule.ProcessVariable: 'SystemUI -> Compile resources : Replacing variables in DataDirectory: '$(TmpBuildDir)' --> 'C:\Users\BaBa\AppData\Local\Temp\0A64F0''
18:30:39.299: [Verbose] - BaseModule.ProcessVariable: 'SystemUI -> Compile resources : Replacing variables in AdditionalCommandlineFlags: '$(DefaultApkToolCompileArgs) ' --> ' ''
18:30:39.302: [Normal] - ApkTool.CompileApk: 'Compiling apk, path: C:\Users\BaBa\AppData\Local\Temp\0A64F0'
18:30:39.302: [Debug] - ApkTool.CompileApk: 'ApkTool args: -Xmx512m -jar "C:\Program Files (x86)\Virtuous Ten Studio\External\ApkTool\apktool_2.0.0b9.jar" build --output "C:\Users\BaBa\AppData\Local\Temp\DF187D\31595A.tmp" "C:\Users\BaBa\AppData\Local\Temp\0A64F0"'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: I: Using Apktool 2.0.0-Beta9 on 0A64F0'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: I: Checking whether resources has changed...'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: I: Building resources...'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: W: Could not find sources'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_notification_panel_title.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_notification_panel_title.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:10: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:16: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:22: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:26: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:28: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:29: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:32: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:33: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:34: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:35: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\0A64F0\res\layout\system_bar_settings_view.xml:37: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\BaBa\AppData\Local\Temp\brut_util_Jar_3354618225333104470.tmp, p, --forced-package-id, 127, --min-sdk-version, 18, --target-sdk-version, 18, --version-code, 18, --version-name, 4.3-G7102XXUANB3, -F, C:\Users\BaBa\AppData\Local\Temp\APKTOOL7540804479908971350.tmp, -I, C:\Users\BaBa\apktool\framework\1-Touchwiz.apk, -S, C:\Users\BaBa\AppData\Local\Temp\0A64F0\res, -M, C:\Users\BaBa\AppData\Local\Temp\0A64F0\AndroidManifest.xml]'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResources(Androlib.java:363)'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.build(Androlib.java:286)'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.build(Androlib.java:258)'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.apktool.Main.cmdBuild(Main.java:236)'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.apktool.Main.main(Main.java:88)'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\BaBa\AppData\Local\Temp\brut_util_Jar_3354618225333104470.tmp, p, --forced-package-id, 127, --min-sdk-version, 18, --target-sdk-version, 18, --version-code, 18, --version-name, 4.3-G7102XXUANB3, -F, C:\Users\BaBa\AppData\Local\Temp\APKTOOL7540804479908971350.tmp, -I, C:\Users\BaBa\apktool\framework\1-Touchwiz.apk, -S, C:\Users\BaBa\AppData\Local\Temp\0A64F0\res, -M, C:\Users\BaBa\AppData\Local\Temp\0A64F0\AndroidManifest.xml]'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: ... 5 more'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: Caused by: brut.common.BrutException: could not exec command: [C:\Users\BaBa\AppData\Local\Temp\brut_util_Jar_3354618225333104470.tmp, p, --forced-package-id, 127, --min-sdk-version, 18, --target-sdk-version, 18, --version-code, 18, --version-name, 4.3-G7102XXUANB3, -F, C:\Users\BaBa\AppData\Local\Temp\APKTOOL7540804479908971350.tmp, -I, C:\Users\BaBa\apktool\framework\1-Touchwiz.apk, -S, C:\Users\BaBa\AppData\Local\Temp\0A64F0\res, -M, C:\Users\BaBa\AppData\Local\Temp\0A64F0\AndroidManifest.xml]'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.util.OS.exec(OS.java:89)'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)'
18:30:47.599: [Error] - ApkTool.CompileApk: 'ApkTool: ... 6 more'
18:30:47.599: [Debug] - ApkTool.CompileApk: 'ApkTool failed, see log for further details'
18:30:47.599: [Debug] - ApkTool.CompileApk: 'Exitcode: 1'
18:30:47.611: [Error] - ApkToolCompileModule.ExecuteInternal: 'SystemUI -> Compile resources : Compiling resource files failed!'
18:30:47.612: [Error] - Script.ExecuteScript: 'Executing SystemUI -> Compile resources failed!'
18:30:47.612: [Error] - Script.ExecuteScript: 'Failed module is essential, aborting script execution!'
18:30:47.629: [Verbose] - ScriptConfiguration.SyncScriptSettings: 'Syncing settings of 'Import' to 'Build''
18:30:47.629: [Verbose] - ApkToolDecompileModule.SyncSettingsTo: 'Syncing settings of 'Decompile resources' to 1 'Compile resources' module(s)'
18:32:57.536: [Verbose] - ScriptConfiguration.SyncScriptSettings: 'Syncing settings of 'Import' to 'Build''
18:32:57.536: [Verbose] - ApkToolDecompileModule.SyncSettingsTo: 'Syncing settings of 'Decompile resources' to 1 'Compile resources' module(s)'
18:32:57.537: [Verbose] - ScriptConfiguration.SyncScriptSettings: 'Syncing settings of 'Import' to 'Build''
18:32:57.537: [Verbose] - ApkToolDecompileModule.SyncSettingsTo: 'Syncing settings of 'Decompile resources' to 1 'Compile resources' module(s)'
18:33:11.616: [Verbose] - ScriptConfiguration.SyncScriptSettings: 'Syncing settings of 'Import' to 'Build''
18:33:11.616: [Verbose] - ApkToolDecompileModule.SyncSettingsTo: 'Syncing settings of 'Decompile resources' to 1 'Compile resources' module(s)'
18:33:32.474: [Verbose] - ScriptConfiguration.SyncScriptSettings: 'Syncing settings of 'Import' to 'Build''
18:33:32.474: [Verbose] - ApkToolDecompileModule.SyncSettingsTo: 'Syncing settings of 'Decompile resources' to 1 'Compile resources' module(s)'
18:33:32.477: [Normal] - TenProjectViewModel.BuildProject: 'Building project: SystemUI'
18:33:32.477: [Verbose] - ScriptConfiguration.SyncScriptSettings: 'Syncing settings of 'Import' to 'Build''
18:33:32.477: [Verbose] - ApkToolDecompileModule.SyncSettingsTo: 'Syncing settings of 'Decompile resources' to 1 'Compile resources' module(s)'
18:33:32.485: [Debug] - Script.ExecuteScript: 'Got 8 modules to execute'
18:33:32.485: [Normal] - BaseModule.Execute: 'Executing: SystemUI -> Assign variable'
18:33:32.485: [Debug] - VariableModule.ExecuteInternal: 'SystemUI -> Assign variable : Creating variable 'TmpBuildDir' with value '$(NewTmpPath())''
18:33:32.485: [Verbose] - BaseModule.ProcessVariable: 'SystemUI -> Assign variable : Replacing variables in Value: '$(NewTmpPath())' --> 'C:\Users\BaBa\AppData\Local\Temp\F6C30C''
18:33:32.486: [Normal] - BaseModule.Execute: 'Executing: SystemUI -> Copy files'
18:33:32.486: [Verbose] - BaseModule.ProcessVariable: 'SystemUI -> Copy files : Replacing variables in SourceDirectory: '$(DataDirectory)' --> 'C:\Users\BaBa\Documents\Virtuous Ten Studio\Projects\wow yaar\SystemUI\Data''
18:33:32.486: [Verbose] - BaseModule.ProcessVariable: 'SystemUI -> Copy files : Replacing variables in TargetDirectory: '$(TmpBuildDir)' --> 'C:\Users\BaBa\AppData\Local\Temp\F6C30C''
18:33:32.921: [Normal] - BaseModule.Execute: 'Executing: SystemUI -> Compile resources'
18:33:32.921: [Verbose] - BaseModule.ProcessVariable: 'SystemUI -> Compile resources : Replacing variables in DataDirectory: '$(TmpBuildDir)' --> 'C:\Users\BaBa\AppData\Local\Temp\F6C30C''
18:33:32.921: [Verbose] - BaseModule.ProcessVariable: 'SystemUI -> Compile resources : Replacing variables in AdditionalCommandlineFlags: '$(DefaultApkToolCompileArgs) ' --> ' ''
18:33:32.921: [Normal] - ApkTool.CompileApk: 'Compiling apk, path: C:\Users\BaBa\AppData\Local\Temp\F6C30C'
18:33:32.922: [Debug] - ApkTool.CompileApk: 'ApkTool args: -Xmx512m -jar "C:\Program Files (x86)\Virtuous Ten Studio\External\ApkTool\apktool_2.0.0b9.jar" build --output "C:\Users\BaBa\AppData\Local\Temp\BEBAD8\223558.tmp" "C:\Users\BaBa\AppData\Local\Temp\F6C30C"'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: I: Using Apktool 2.0.0-Beta9 on F6C30C'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: W: Could not find sources'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: I: Checking whether resources has changed...'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: I: Building resources...'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_notification_panel_title.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_notification_panel_title.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:10: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:16: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:22: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:26: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:28: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:29: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:32: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:33: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:34: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:35: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: C:\Users\BaBa\AppData\Local\Temp\F6C30C\res\layout\system_bar_settings_view.xml:37: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\BaBa\AppData\Local\Temp\brut_util_Jar_2550761332107258087.tmp, p, --forced-package-id, 127, --min-sdk-version, 18, --target-sdk-version, 18, --version-code, 18, --version-name, 4.3-G7102XXUANB3, -F, C:\Users\BaBa\AppData\Local\Temp\APKTOOL5236524065678578343.tmp, -I, C:\Users\BaBa\apktool\framework\1-Touchwiz.apk, -S, C:\Users\BaBa\AppData\Local\Temp\F6C30C\res, -M, C:\Users\BaBa\AppData\Local\Temp\F6C30C\AndroidManifest.xml]'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResources(Androlib.java:363)'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.build(Androlib.java:286)'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.build(Androlib.java:258)'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.apktool.Main.cmdBuild(Main.java:236)'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.apktool.Main.main(Main.java:88)'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\BaBa\AppData\Local\Temp\brut_util_Jar_2550761332107258087.tmp, p, --forced-package-id, 127, --min-sdk-version, 18, --target-sdk-version, 18, --version-code, 18, --version-name, 4.3-G7102XXUANB3, -F, C:\Users\BaBa\AppData\Local\Temp\APKTOOL5236524065678578343.tmp, -I, C:\Users\BaBa\apktool\framework\1-Touchwiz.apk, -S, C:\Users\BaBa\AppData\Local\Temp\F6C30C\res, -M, C:\Users\BaBa\AppData\Local\Temp\F6C30C\AndroidManifest.xml]'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: ... 5 more'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: Caused by: brut.common.BrutException: could not exec command: [C:\Users\BaBa\AppData\Local\Temp\brut_util_Jar_2550761332107258087.tmp, p, --forced-package-id, 127, --min-sdk-version, 18, --target-sdk-version, 18, --version-code, 18, --version-name, 4.3-G7102XXUANB3, -F, C:\Users\BaBa\AppData\Local\Temp\APKTOOL5236524065678578343.tmp, -I, C:\Users\BaBa\apktool\framework\1-Touchwiz.apk, -S, C:\Users\BaBa\AppData\Local\Temp\F6C30C\res, -M, C:\Users\BaBa\AppData\Local\Temp\F6C30C\AndroidManifest.xml]'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.util.OS.exec(OS.java:89)'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)'
18:33:40.116: [Error] - ApkTool.CompileApk: 'ApkTool: ... 6 more'
18:33:40.116: [Debug] - ApkTool.CompileApk: 'ApkTool failed, see log for further details'
18:33:40.116: [Debug] - ApkTool.CompileApk: 'Exitcode: 1'
18:33:40.117: [Error] - ApkToolCompileModule.ExecuteInternal: 'SystemUI -> Compile resources : Compiling resource files failed!'
18:33:40.117: [Error] - Script.ExecuteScript: 'Executing SystemUI -> Compile resources failed!'
18:33:40.117: [Error] - Script.ExecuteScript: 'Failed module is essential, aborting script execution!'
18:33:40.119: [Verbose] - ScriptConfiguration.SyncScriptSettings: 'Syncing settings of 'Import' to 'Build''
18:33:40.119: [Verbose] - ApkToolDecompileModule.SyncSettingsTo: 'Syncing settings of 'Decompile resources' to 1 'Compile resources' module(s)'
have you installed ur framework first to apktool??
vrushabh sutar said:
have you installed ur framework first to apktool??
Click to expand...
Click to collapse
yes i have both the framework and twframework

SailfishOS for Tiny210v2 - porting in process

I start porting SailfishOS to Tiny210v2 S5PV210 ARM Cortex-A8 Board
And i have error when SurfaceFlinger is start:
Code:
I/SurfaceFlinger( 212): SurfaceFlinger is starting
I/SurfaceFlinger( 212): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 212): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 212): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 212): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
W/libEGL ( 212): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
I/hwcomposer( 212): int hwc_device_open(const hw_module_t*, const char*, hw_device_t**)::win-0 add[0] 3c330000
I/hwcomposer( 212): int hwc_device_open(const hw_module_t*, const char*, hw_device_t**)::win-0 add[1] 3c4a7000
I/hwcomposer( 212): int hwc_device_open(const hw_module_t*, const char*, hw_device_t**)::win-0 add[2] 3c61e000
E/hwcomposer( 212): int createFimc(s5p_fimc_t*)::Post processor open error (13)
E/hwcomposer( 212): int hwc_device_open(const hw_module_t*, const char*, hw_device_t**)::creatFimc() fail
E/SurfaceFlinger( 212): composer device failed to initialize (Invalid argument)
E/SurfaceFlinger( 212): ERROR: failed to open framebuffer (Not a typewriter), aborting
F/libc ( 212): Fatal signal 6 (SIGABRT) at 0x000000d4 (code=-6), thread 212 (surfaceflinger)
who can ask me - what is wrong ?
new error
Code:
I/SurfaceFlinger( 73): SurfaceFlinger is starting
I/SurfaceFlinger( 73): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 73): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 73): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 73): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
I/auditd ( 165): Starting up
E/auditd ( 165): Failed on audit_set_pid with error: Protocol not supported
I/auditd ( 165): Exiting
E/keystore( 166): chdir: /data/misc/keystore: No such file or directory
I/hwcomposer( 73): int hwc_device_open(const hw_module_t*, const char*, hw_device_t**)::win-0 add[0] 3c330000
I/hwcomposer( 73): int hwc_device_open(const hw_module_t*, const char*, hw_device_t**)::win-0 add[1] 3c4a7000
I/hwcomposer( 73): int hwc_device_open(const hw_module_t*, const char*, hw_device_t**)::win-0 add[2] 3c61e000
E/hwcomposer( 73): int createFimc(s5p_fimc_t*)::Post processor open error (13)
E/hwcomposer( 73): int hwc_device_open(const hw_module_t*, const char*, hw_device_t**)::creatFimc() fail
E/SurfaceFlinger( 73): composer device failed to initialize (Invalid argument)
I/SurfaceFlinger( 73): Using composer version 1.0
W/SurfaceFlinger( 73): getting VSYNC period from fb HAL: 14705882
W/SurfaceFlinger( 73): no suitable EGLConfig found, trying a simpler query
I/SurfaceFlinger( 73): EGL informations:
I/SurfaceFlinger( 73): vendor : Android
I/SurfaceFlinger( 73): version : 1.4 Android META-EGL
I/SurfaceFlinger( 73): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 73): Client API: OpenGL_ES
I/SurfaceFlinger( 73): EGLSurface: 8-8-8-8, config=0x2
I/SurfaceFlinger( 73): OpenGL ES informations:
I/SurfaceFlinger( 73): vendor : Imagination Technologies
I/SurfaceFlinger( 73): renderer : PowerVR SGX 540
I/SurfaceFlinger( 73): version : OpenGL ES-CM 1.1
I/SurfaceFlinger( 73): extensions: GL_EXT_debug_marker GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_point_sprite GL_OES_point_size_array GL_OES_matrix_palette GL_OES_draw_texture GL_OES_query_matrix GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat GL_OES_texture_cube_map GL_OES_blend_subtract GL_OES_blend_func_separate GL_OES_blend_equation_separate GL_OES_stencil_wrap GL_OES_extended_matrix_palette GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_stencil8 GL_OES_compressed_ETC1_RGB8_texture GL_OES_mapbuffer GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_multi_draw_arrays GL_OES_required_internalformat GL_IMG_read_format GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888 GL_EXT_texture_format_BGRA8888 GL_OES_egl_sync GL_IMG_vertex_array_object
I/SurfaceFlinger( 73): GL_MAX_TEXTURE_SIZE = 2048
I/SurfaceFlinger( 73): GL_MAX_VIEWPORT_DIMS = 2048
E/cutils-trace( 73): Error opening trace file: No such file or directory (2)
E/libEGL ( 73): eglQuerySurface:599 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 73): eglQuerySurface:599 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 73): call to OpenGL ES API with no current context (logged once per thread)
D/SurfaceFlinger( 73): Screen acquired, type=0 flinger=0x41e85450
E/SurfaceFlinger( 73): eventControl(0, 1) failed Bad file number
D/libEGL ( 189): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 189): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 189): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
E/cutils-trace( 189): Error opening trace file: No such file or directory (2)
E/libEGL ( 189): eglQuerySurface:599 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 189): eglQuerySurface:599 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 189): eglMakeCurrent:784 error 3009 (EGL_BAD_MATCH)

Android build error. PLEASE HELP ME!

Hello guys! I last time i successfully build android roms,and i reinstall my Ubuntu and now i got the following error. I tried it both RR,and AICP,Omni... but all of them showed me that error. Please help me! (maven installed.)
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:get (default-cli) on project standalone-pom: Couldn't download artifact: Could not transfer artifact org.cyanogenmod:gello:apk:37 from/to central (https://maven.cyanogenmod.org/artifactory/gello_prebuilds): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[ERROR] org.cyanogenmod:gello:apk:37
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false),
[ERROR] central (https://maven.cyanogenmod.org/artifactory/gello_prebuilds, releases=true, snapshots=true)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
vendor/aicp/build/core/maven_artifact.mk:42: recipe for target '/home/android/AICP-MM/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-37.apk' failed
make: *** [/home/android/AICP-MM/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-37.apk] Error 1
make: *** Waiting for unfinished jobs....
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
make: Leaving directory '/home/android/AICP-MM'
#### make failed to build some targets in 04m:14s
PLEASE HELP ME I WANT TO MAKE ROMS AGAIN!!!
Remove gello from your device.mk under product packages in your device tree and try recompiling again
Sent from my SM-A9100 using Tapatalk
I am experiencing the same issue, I have tried to remove Gello but the error is still showing up. This is my first time compiling a ROM, please help. Thank you
osas514 said:
Remove gello from your device.mk under product packages in your device tree and try recompiling again
Sent from my SM-A9100 using Tapatalk
Click to expand...
Click to collapse
Thank you my friend! I hope you try my any rom once.
wsydgx said:
I am experiencing the same issue, I have tried to remove Gello but the error is still showing up. This is my first time compiling a ROM, please help. Thank you
Click to expand...
Click to collapse
Can you post your own error log?
Sent from my SM-A9100 using Tapatalk
osas514 said:
Can you post your own error log?
Sent from my SM-A9100 using Tapatalk
Click to expand...
Click to collapse
So you so much for your help, it turns out I had to delete 2 Gello folders. after that it complied and I made my first ROM (through copying and pasting)

Categories

Resources