FORUMS
Remove All Ads from XDA

{Q} Recompiling SystemUi error

81 posts
Thanks Meter: 155
 
By 7odaahmad, Member on 4th January 2016, 06:18 PM
Post Reply Email Thread
Hello guys ,
I get this error when I try to recompile SystemUi

Quote:

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+B y+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\battery_low_heads_up_n oti.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+B y+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\battery_low_heads_up_n oti.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+B y+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+B y+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+B y+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+B y+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+B y+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+B y+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+B y+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+B y+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+B y+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+B y+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+B y+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+B y+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\notification_public_de fault.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+B y+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res\layout\notification_public_de fault.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\APKTOOL180901 2509551128119.tmp, -0, arsc, -I, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+B y+Kmokhtar79\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+B y+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res, -M, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+B y+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:442)
at brut.androlib.Androlib.buildResources(Androlib.jav a: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\APKTOOL180901 2509551128119.tmp, -0, arsc, -I, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+B y+Kmokhtar79\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+B y+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res, -M, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+B y+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.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\APKTOOL180901 2509551128119.tmp, -0, arsc, -I, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+B y+Kmokhtar79\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+B y+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\res, -M, C:\Users\Dr AHMAD\Desktop\New folder (2)\Advanced+ApkTool+v4.1.0+By+BDFreak+Repackecd+B y+Kmokhtar79\AdvancedApkTool\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.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
GuestK0043
6th January 2016, 05:00 AM |#2  
Guest
Thanks Meter: 0
 
More
Quote:
Originally Posted by 7odaahmad

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
6th January 2016, 08:36 PM |#3  
OP Member
Thanks Meter: 155
 
More
Quote:
Originally Posted by Azar_98

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
The Following 2 Users Say Thank You to 7odaahmad For This Useful Post: [ View ] Gift 7odaahmad Ad-Free
GuestK0043
6th January 2016, 08:56 PM |#4  
Guest
Thanks Meter: 0
 
More
Quote:
Originally Posted by 7odaahmad

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
The Following User Says Thank You to For This Useful Post: [ View ] Gift Ad-Free
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes