[Q] Can anyone recompile this for me please? - XPERIA X8 Q&A, Help & Troubleshooting

So I played with my phones framework-res.apk I succesfully decompiled it, made some minor changes, then I tried to recompile it, but everytime i tried to, autoapktool crashed and i got an error message... So my question is: can anyone recompile this APK for me? The folder of the decompiled framework-res.apk is inside the rar. Anyway thanks, ChongWiz.

Milyen hibaüzenet? Nem is fog menni a compile amíg hibás kódot tartalmaz a program.
-----
English: What error message? The compile won't work until the program has a bad programcode.

[*] framework-res folder
recompiling framework-res.apk...
W: Could not find sources
I: Building resources...
invalid resource directory name: C:\Users\Csongor\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/animator
invalid resource directory name: C:\Users\Csongor\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/interpolator
invalid resource directory name: C:\Users\Csongor\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/mipmap-320dpi
invalid resource directory name: C:\Users\Csongor\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/mipmap-hdpi
invalid resource directory name: C:\Users\Csongor\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/mipmap-ldpi
invalid resource directory name: C:\Users\Csongor\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/mipmap-mdpi
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Csongor\AppData\Local\Temp\APKTOOL4873594604639032332.tmp, -x, -S, C:\Users\Csongor\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res, -M, C:\Users\Csongor\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Csongor\AppData\Local\Temp\APKTOOL4873594604639032332.tmp, -x, -S, C:\Users\Csongor\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res, -M, C:\Users\Csongor\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
The system cannot find the drive specified.
Same error if i try to recompile an unmodded apk - maybe there was a problem during the decompiling?
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ugyanezt adja ki ha módosítatlan apk-ra nyomok recompilet - lehet hogy már a decompilenál problémák voltak?

Are you just trying to change icons or what? If you are just changing Icons or minor things in the framework-res you dont have to decompile it. Just change the name of the file to framework-res.apk.zip. open it with 7zip. Any thing you want to edit and put back in the framework-res you got to extract and then replace. if just replacing the files Drag and drop what you are trying to change to the folder it goes into in the framework-res. Make sure the files are named the same as the ones you are replacing so it overwrites them. Then when you are done editing, close 7zip and take the .zip off the end so its named framework-res.apk. No decompile and recompile.

I made changes in bools.xml,strings.xml and changed some pngs.

Pls help if u can its important

Related

Localization of this error is that what mean

Localization of this error is that what mean
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
at brut.androlib.ApkDecoder.hasSources(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
at brut.directory.ZipRODirectory.<init>(Unknown Source)
at brut.directory.ZipRODirectory.<init>(Unknown Source)
at brut.androlib.res.util.ExtFile.getDirectory(Unknown Source)
... 4 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.zip.ZipFile.<init>(ZipFile.java:131)
... 7 more
Thanks for the answer
What command did you type in? I think you have tried to decode a file, which isn't a valid zip file, but there are more possibilities.
Decompression of the apk documents, I want localization

[Q] Using apktools on LatinImeGoogle.apk from ICSSGS' latest port

Hi,
I'm trying to add a dictionary to LatinImeGoogle.apk from ICSSGS' latest port (RC4.2 for I9000), and I manage to disassemble the apk, but not to reassemble.
This happens even if I didn't change anything inside.
Also, I get errors on both Windows and Linux.
Please help!
Thanx
Windows error:
c:\Windows>apktool b -f c:\da_apks\LatinImeGoogle
I: Smaling...
I: Building resources...
invalid resource directory name: c:\da_apks\LatinImeGoogle\res/layout-sw768dp
invalid resource directory name: c:\da_apks\LatinImeGoogle\res/values-sw600dp
invalid resource directory name: c:\da_apks\LatinImeGoogle\res/values-sw600dp-la
nd
invalid resource directory name: c:\da_apks\LatinImeGoogle\res/values-sw768dp
invalid resource directory name: c:\da_apks\LatinImeGoogle\res/values-sw768dp-la
nd
invalid resource directory name: c:\da_apks\LatinImeGoogle\res/xml-sw600dp
invalid resource directory name: c:\da_apks\LatinImeGoogle\res/xml-sw600dp-land
invalid resource directory name: c:\da_apks\LatinImeGoogle\res/xml-sw768dp
invalid resource directory name: c:\da_apks\LatinImeGoogle\res/xml-sw768dp-land
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Erez\AppData\Local\Temp\AP
KTOOL5255303126555889179.tmp, -I, C:\Users\Erez\apktool\framework\1.apk, -S, c:\
da_apks\LatinImeGoogle\res, -M, c:\da_apks\LatinImeGoogle\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a: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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Erez\AppData\Local\Temp\APKTOOL5255303126555889179.tmp, -I, C:\Users\Erez\a
pktool\framework\1.apk, -S, c:\da_apks\LatinImeGoogle\res, -M, c:\da_apks\LatinI
meGoogle\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
And the Linux (Ubuntu) error:
[email protected]:~/Desktop$ sudo apktool b ./extraction
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL6670999592100072401.tmp, -I, /root/apktool/framework/1.apk, -S, /home/e/Desktop/./extraction/res, -M, /home/e/Desktop/./extraction/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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL6670999592100072401.tmp, -I, /root/apktool/framework/1.apk, -S, /home/e/Desktop/./extraction/res, -M, /home/e/Desktop/./extraction/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": java.io.IOException: error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:466)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 10 more
Had the same issue editing ics .apk
Fixed only by using perkas apkmanager in his stash.
Sent from my SGH-T959 using XDA
hmm.. Thanks, but I have no idea what that means
EDIT: I downloaded the tool, and the problem persists. Do I need to add anything in the command line or something?

[Q] How to compile Framework-res.apk from 4.0.4 ROM?

I tried several versions of AKPTool, but when compiling, I always get errors.
no problems with 4.0.3 files. any ideas?
AOKP build 29 framework-res.apk
There's a download somewhere that gives you both 1.4.2 and 1.4.3 versions of apktool.jar. You must use 1.4.2 to decompile, and 1.4.3 to recompile. You rename them so you can use the command "java -jar apktool1.4.2.jar d framework-res.apk" and to recompile, switch with the "1.4.3" and the "d" with "b". I have the full instructions on my laptop that I can post later if you want.
Sent from my CM9 ICS i897 Captivate
[*] framework-res folder
recompiling framework-res.apk...
W: Could not find sources
I: Building resources...
invalid resource directory name: C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/animator
invalid resource directory name: C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/interpolator
invalid resource directory name: C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/mipmap-320dpi
invalid resource directory name: C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/mipmap-hdpi
invalid resource directory name: C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/mipmap-ldpi
invalid resource directory name: C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/mipmap-mdpi
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\B\AppData\Local\Temp\APKTOOL6639886469626160604.tmp, -x, -S, C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res, -M, C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\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, C:\Users\B\AppData\Local\Temp\APKTOOL6639886469626160604.tmp, -x, -S, C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res, -M, C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
The system cannot find the drive specified.
Can't recompile a 4.0.4 framework-res.apk, any ideas ?
korockinout13 said:
There's a download somewhere that gives you both 1.4.2 and 1.4.3 versions of apktool.jar. You must use 1.4.2 to decompile, and 1.4.3 to recompile. You rename them so you can use the command "java -jar apktool1.4.2.jar d framework-res.apk" and to recompile, switch with the "1.4.3" and the "d" with "b". I have the full instructions on my laptop that I can post later if you want.
Sent from my CM9 ICS i897 Captivate
Click to expand...
Click to collapse
can you post here the instructions, please?
Thank you!
Have you tried the latest version of apktool v1.4.10??
http://forum.xda-developers.com/showthread.php?t=1755243
This one has fixed the need for different .jar files to decompile and recompile.
And might wanna be sure your framework-res is installed properly.
robm1911 said:
Have you tried the latest version of apktool v1.4.10??
http://forum.xda-developers.com/showthread.php?t=1755243
This one has fixed the need for different .jar files to decompile and recompile.
And might wanna be sure your framework-res is installed properly.
Click to expand...
Click to collapse
10x, I'll give it a try.

[Q] Errors when recompiling stock .67 deodexed Home.apk

Hey guys, I'm trying to recompile Home.apk but I'm getting multiple errors, anyone know a solution to this?
Cheers
Code:
C:\apktool>apktool b C:\apktool\home
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\apktool\home\res\values\styles.xml:25: error: Error retrieving parent for ite
m: No resource found that matches the given name 'Layout'.
C:\apktool\home\res\values\styles.xml:33: error: Error retrieving parent for ite
m: No resource found that matches the given name 'Layout.CuiMainMenuItem'.
C:\apktool\home\res\values-land\styles.xml:3: error: Error retrieving parent for
item: No resource found that matches the given name 'Layout.CuiMainMenuItem'.
C:\apktool\home\res\values\styles.xml:49: error: Error retrieving parent for ite
m: No resource found that matches the given name 'Layout.CuiMainMenuItem'.
C:\apktool\home\res\values\styles.xml:57: error: Error retrieving parent for ite
m: No resource found that matches the given name 'Layout'.
C:\apktool\home\res\values-land\styles.xml:24: error: Error retrieving parent fo
r item: No resource found that matches the given name 'Layout'.
C:\apktool\home\res\values-sw800dp\styles.xml:7: error: Error retrieving parent
for item: No resource found that matches the given name 'Layout.CuiPickerTitle'.
C:\apktool\home\res\values-sw800dp-v17\styles.xml:13: error: Error retrieving pa
rent for item: No resource found that matches the given name 'Layout.CuiPickerTi
tle'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\JEEBO_~1\AppData\Local\T
emp\APKTOOL7086740129581580055.tmp, -0, arsc, -I, E:\apktool\framework\1.apk, -I
, E:\apktool\framework\2.apk, -S, C:\apktool\home\res, -M, C:\apktool\home\Andro
idManifest.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: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:
\Users\JEEBO_~1\AppData\Local\Temp\APKTOOL7086740129581580055.tmp, -0, arsc, -I,
E:\apktool\framework\1.apk, -I, E:\apktool\framework\2.apk, -S, C:\apktool\home
\res, -M, C:\apktool\home\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 17, --target-sdk-version, 17, -F, C:\Users\JEEBO_~1\AppData\Local\Tem
p\APKTOOL7086740129581580055.tmp, -0, arsc, -I, E:\apktool\framework\1.apk, -I,
E:\apktool\framework\2.apk, -S, C:\apktool\home\res, -M, C:\apktool\home\Android
Manifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more

{Q} Recompiling SystemUi error

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
------------------------------------------------------
Click to expand...
Click to collapse
* I have the 2 frameworks installed
* This isn't the stock ( DarkAu Note 5 rom)
I hope someone can help me
7odaahmad said:
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
Click to expand...
Click to collapse
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
Azar_98 said:
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
Click to expand...
Click to collapse
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
7odaahmad said:
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
Click to expand...
Click to collapse
No problem mate, glad you solved it

Categories

Resources