{Q} Recompiling SystemUi error

7odaahmad

Senior Member
Jan 29, 2014
81
152
0
Hello guys ,
I get this error when I try to recompile SystemUi

Log For : SystemUI.apk

Log Type : Recompiling

Log Recorded At : Mon 04-01-2016 20:13:24.99

Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak

------------------------------------------------------

warning: string 'data_usage_disable_mobile_vzw_3' has no default translation.
warning: string 'flight_mode_disabled_on_demo_devices' has no default translation.
C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\battery_low_heads_up_noti.xml:2: error: No resource identifier found for attribute 'layout_maxHeight' in package 'android'

C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\battery_low_heads_up_noti.xml:2: error: No resource identifier found for attribute 'layout_minHeight' in package 'android'

C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\keyguard_glow_pad_view.xml:2: error: No resource identifier found for attribute 'handleDrawable' in package 'android'

C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\keyguard_glow_pad_view.xml:2: error: No resource identifier found for attribute 'outerRingDrawable' in package 'android'

C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\keyguard_glow_pad_view.xml:2: error: No resource identifier found for attribute 'pointDrawable' in package 'android'

C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\keyguard_glow_pad_view.xml:2: error: No resource identifier found for attribute 'outerRadius' in package 'android'

C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\keyguard_glow_pad_view.xml:2: error: No resource identifier found for attribute 'glowRadius' in package 'android'

C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\keyguard_glow_pad_view.xml:2: error: No resource identifier found for attribute 'vibrationDuration' in package 'android'

C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\keyguard_glow_pad_view.xml:2: error: No resource identifier found for attribute 'snapMargin' in package 'android'

C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\keyguard_glow_pad_view.xml:2: error: No resource identifier found for attribute 'feedbackCount' in package 'android'

C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\keyguard_glow_pad_view.xml:2: error: No resource identifier found for attribute 'firstItemOffset' in package 'android'

C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\keyguard_glow_pad_view.xml:2: error: No resource identifier found for attribute 'magneticTargets' in package 'android'

C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\keyguard_glow_pad_view.xml:2: error: No resource identifier found for attribute 'allowScaling' in package 'android'

C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\notification_public_default.xml:2: error: No resource identifier found for attribute 'layout_maxHeight' in package 'android'

C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\notification_public_default.xml:2: error: No resource identifier found for attribute 'layout_minHeight' in package 'android'

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\DRAHMA~1\AppData\Local\Temp\brut_util_Jar_7407859493212729898.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-N9200ZCU2AOL2, -F, C:\Users\DRAHMA~1\AppData\Local\Temp\APKTOOL1809012509551128119.tmp, -0, arsc, -I, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res, -M, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:442)
at brut.androlib.Androlib.buildResources(Androlib.java:379)
at brut.androlib.Androlib.build(Androlib.java:282)
at brut.androlib.Androlib.build(Androlib.java:255)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\DRAHMA~1\AppData\Local\Temp\brut_util_Jar_7407859493212729898.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-N9200ZCU2AOL2, -F, C:\Users\DRAHMA~1\AppData\Local\Temp\APKTOOL1809012509551128119.tmp, -0, arsc, -I, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res, -M, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:506)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:428)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\DRAHMA~1\AppData\Local\Temp\brut_util_Jar_7407859493212729898.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-N9200ZCU2AOL2, -F, C:\Users\DRAHMA~1\AppData\Local\Temp\APKTOOL1809012509551128119.tmp, -0, arsc, -I, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res, -M, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+By+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:500)
... 6 more

------------------------------------------------------
* I have the 2 frameworks installed
* This isn't the stock ( DarkAu Note 5 rom)

I hope someone can help me
 
G

GuestK0043

Guest
Hello guys ,
I get this error when I try to recompile SystemUi



* I have the 2 frameworks installed
* This isn't the stock ( DarkAu Note 5 rom)

I hope someone can help me
try this:
go to res\layout\battery_low_heads_up_noti.xml:2, and find layout_MaxHeight. Replace the negative number with "unbounded"
Do the same for res\layout-v22\battery_low_heads_up_noti.xml:2
Also, read the LOG file carefully and try to identify what the other errors mean. This isn't that hard. :) Hope this helps, Good Luck
 

7odaahmad

Senior Member
Jan 29, 2014
81
152
0
try this:
go to res\layout\battery_low_heads_up_noti.xml:2, and find layout_MaxHeight. Replace the negative number with "unbounded"
Do the same for res\layout-v22\battery_low_heads_up_noti.xml:2
Also, read the LOG file carefully and try to identify what the other errors mean. This isn't that hard. :) Hope this helps, Good Luck
Thanks for your answer man
but I found another solution that worked for me
by editing the "apktool.yml" file and delete the QMG files data from it and it worked perfectly

Thank U again for your answer
 
G

GuestK0043

Guest
Thanks for your answer man
but I found another solution that worked for me
by editing the "apktool.yml" file and delete the QMG files data from it and it worked perfectly

Thank U again for your answer
No problem mate, glad you solved it :)