[Help] MIUI PatchRom Error - Samsung Galaxy 5 I5500

Hello Guys,
Recently, MIUI is opened up their source *yay Glad to hear that*. This make it possible to compile MIUI to our devices . And i've try to build it,but i have some errors. i just following this nice guide MisterGt guide and ThePCGuy guide.
the error show
Code:
cp -r Phone .build
/home/bear14/MiCode/tools/apktool b .build/Phone .build/Phone.apk
I: Checking whether sources has changed...
I: Smaling...
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/APKTOOL8218704267644755494.tmp, -I, /home/bear14/apktool/framework/1.apk, -S, /home/bear14/MiCode/i5503/.build/Phone/res, -M, /home/bear14/MiCode/i5503/.build/Phone/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/APKTOOL8218704267644755494.tmp, -I, /home/bear14/apktool/framework/1.apk, -S, /home/bear14/MiCode/i5503/.build/Phone/res, -M, /home/bear14/MiCode/i5503/.build/Phone/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=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
at java.lang.Runtime.exec(Runtime.java:610)
at java.lang.Runtime.exec(Runtime.java:483)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
at java.lang.ProcessImpl.start(ProcessImpl.java:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
... 10 more
make: *** [.build/Phone.apk] Error 1
could someone tell whats wrong with it ?
if you have try to build it, and have some error we discussed in this thread.

helumaeraba said:
Hello Guys,
Recently, MIUI is opened up their source *yay Glad to hear that*. This make it possible to compile MIUI to our devices . And i've try to build it,but i have some errors. i just following this nice guide MisterGt guide and ThePCGuy guide.
the error show
Code:
cp -r Phone .build
/home/bear14/MiCode/tools/apktool b .build/Phone .build/Phone.apk
I: Checking whether sources has changed...
I: Smaling...
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/APKTOOL8218704267644755494.tmp, -I, /home/bear14/apktool/framework/1.apk, -S, /home/bear14/MiCode/i5503/.build/Phone/res, -M, /home/bear14/MiCode/i5503/.build/Phone/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/APKTOOL8218704267644755494.tmp, -I, /home/bear14/apktool/framework/1.apk, -S, /home/bear14/MiCode/i5503/.build/Phone/res, -M, /home/bear14/MiCode/i5503/.build/Phone/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=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
at java.lang.Runtime.exec(Runtime.java:610)
at java.lang.Runtime.exec(Runtime.java:483)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
at java.lang.ProcessImpl.start(ProcessImpl.java:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
... 10 more
make: *** [.build/Phone.apk] Error 1
could someone tell whats wrong with it ?
if you have try to build it, and have some error we discussed in this thread.
Click to expand...
Click to collapse
Try to use the tutorial on my topic in the development thread.
You will see what is the problem.
---------- Post added at 01:08 PM ---------- Previous post was at 01:04 PM ----------
And another one,
You can't build MIUI for non-hdpi devices with this source.

Thanks bro..but now i have another problem..when i finished compile..i and phone is booted,but when booting done,theres no change to that rom,still same with cm7 but without status bar..and some app FC..
Sent from my GT-I5500

helumaeraba said:
Thanks bro..but now i have another problem..when i finished compile..i and phone is booted,but when booting done,theres no change to that rom,still same with cm7 but without status bar..and some app FC..
Sent from my GT-I5500
Click to expand...
Click to collapse
If you aren't a coder tou will not have your MIUI so easy.
You have, first, to resize the images from the source.
And then, a lot of work comes.

coder?idoing by learning..try to understand the coding
Btw Thanks
Sent from my GT-I5500

v6ser said:
Try to use the tutorial on my topic in the development thread.
You will see what is the problem.
---------- Post added at 01:08 PM ---------- Previous post was at 01:04 PM ----------
And another one,
You can't build MIUI for non-hdpi devices with this source.
Click to expand...
Click to collapse
i am sorry,but i cannot find the topic...i am new here...can u give me a link?tx!

Related

Please help!! Able to decompile ICS APK yet unable to Compile it back again!

Before everything else, don't even try to say to me that I need to research, because I searched and searched I even filled up my computer with a bunch of apktools and aapt and various decompilers, both Command line and with GUI, it's freaking me out! Please help.!!.
-----------------------------------------------------
[*] SystemUI.apk
-----------------------------------------------------
Recompiling SystemUI.apk folder...
I: Smaling...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Vince\AppData\Local\Temp\APKTOOL9216640018277012755.tmp, -I, C:\Users\Vince\apktool\framework\1.apk, -S, C:\Users\Vince\Downloads\xdaAutoTool\_INPUT_APK\SystemUI\res, -M, C:\Users\Vince\Downloads\xdaAutoTool\_INPUT_APK\SystemUI\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, C:\Users\Vince\AppData\Local\Temp\APKTOOL9216640018277012755.tmp, -I, C:\Users\Vince\apktool\framework\1.apk, -S, C:\Users\Vince\Downloads\xdaAutoTool\_INPUT_APK\SystemUI\res, -M, C:\Users\Vince\Downloads\xdaAutoTool\_INPUT_APK\SystemUI\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": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
Done!
deCompiling = APKTool 1.4.3
Compiling = Tried every version...
on another version of AAPT i get a freaking Invalid resource thingy says that some folders are invalid...

Compiling problem :(

I get this error when trying to recompile:
Code:
F:\apktoolv2>apktool b working/ClockPackage built/ClockPackage
I: Checking whether sources has changed...
I: Smaling...
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, D:\Users\Matt\AppData\Local\Temp\APKTOOL6725272433658742721.tmp, -I, D:\Users\Matt\apktool\framework\1.apk, -I, D:\
Users\Matt\apktool\framework\2.apk, -S, F:\apktoolv2\working\ClockPackage\res, -M, F:\apktoolv2\working\ClockPackage\And
roidManifest.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, D:\Users\Matt\AppData\Local\Temp\APKTOOL6725
272433658742721.tmp, -I, D:\Users\Matt\apktool\framework\1.apk, -I, D:\Users\Matt\apktool\framework\2.apk, -S, F:\apktoo
lv2\working\ClockPackage\res, -M, F:\apktoolv2\working\ClockPackage\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": CreateProcess error=2, The system cannot find the file specif
ied
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
I'm using the same tool I've used before to decompile adn recompile and all I've done is change ONE colour value in the values/color.xml
Is there any way to just compile that xml to I can use it with VRT?
What I do when some nasty error pops up while re-compiling.
Open the apk in winRAR, go to folder where you have modified a perticular file (ex: your file), paste it there. Winrar will do everything and no need to sign also.
Well there is no guarantee That this method should work 'always'.
Sent from my GT-I9300
I need to use the XML file in a theme, though. So, does it not need to be compiled first?
Kryten2k35 said:
I need to use the XML file in a theme, though. So, does it not need to be compiled first?
Click to expand...
Click to collapse
Yea, just realised the method I gave doesn't work with xml's.
EDIT: Which tool are you using?? Apktool??
I suggests you use apkmanager. . It'll generate a readable log in the form of an text file.
OK.. never mind. You fixed it yourself.
Sent from my GT-I9300
http://forum.xda-developers.com/showthread.php?t=1558171
The ICS apktool here seems to work.
Rather odd. But it's building now. Hopefully this is it.
DELETED
Ok
I got the file to compile and build.
Now I can't find the values/color.xml file. Is it actually resources.arsc?

Problem with re-compiling apks

I've been trying to modify some files from xperia go to try and make it work in XMP. I'm not very new to de/re-compiling apks. I use apk-multitool (the latest version) combined with the latest apktool.jar (i think it's 1.5.0) to compile files. I've tried with several other apktool versions. But the problem is, I always encounter errors while re-compiling XGo files, even if I don't modify anything, just decompile and try to recompile. I've installed framework-res and semcgenericuxpres from XGo.
These are examples of the kind of errors that I usually encounter while re-compiling
1.
Code:
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\textinput-tng_XGo.apk\res\layout\key_secondary_candidates_popup.xml:2: error: Error: Integer types not allowed (at 'directionality' with value '0').
E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\textinput-tng_XGo.apk\res\layout\key_secondary_candidates_popup.xml:5: error: Error: Integer types not allowed (at 'directionality' with value '0').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Sudan\AppData\Local\Temp\APKTOOL1787733357918049063.tmp, -I, C:\Users\Sudan\apktool\framework\1.apk, -S, E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\textinput-tng_XGo.apk\res, -M, E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\textinput-tng_XGo.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:251)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:185)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Sudan\AppData\Local\Temp\APKTOOL1787733357918049063.tmp, -I, C:\Users\Sudan\apktool\framework\1.apk, -S, E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\textinput-tng_XGo.apk\res, -M, E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\textinput-tng_XGo.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:249)
... 6 more
2.
Code:
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\InfiniteView.apk\res\values\styles.xml:83: error: Error: Boolean types not allowed (at 'android:searchWidgetCorpusItemBackground' with value 'true').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Sudan\AppData\Local\Temp\APKTOOL459030688649118808.tmp, -I, C:\Users\Sudan\apktool\framework\1.apk, -I, C:\Users\Sudan\apktool\framework\2.apk, -S, E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\InfiniteView.apk\res, -M, E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\InfiniteView.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Sudan\AppData\Local\Temp\APKTOOL459030688649118808.tmp, -I, C:\Users\Sudan\apktool\framework\1.apk, -I, C:\Users\Sudan\apktool\framework\2.apk, -S, E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\InfiniteView.apk\res, -M, E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\InfiniteView.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)
... 6 more
Where am I going wrong? Any Help will be appreciated..
Maybe some compiling options are xxxxed up ... int not allowed ... bol not allowed ... sounds like some screwed settings.
U have a clean install?
Sent from my GT-I9300 using xda premium
schurgatzi said:
Maybe some compiling options are xxxxed up ... int not allowed ... bol not allowed ... sounds like some screwed settings.
U have a clean install?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
I haven't changed any settings in apk-multi tool.. What do u mean by clean install? I have installed clean, un-modded framework and semcgenericres files..
Sent from my SK17i using xda premium
Sudanminipro said:
I haven't changed any settings in apk-multi tool.. What do u mean by clean install? I have installed clean, un-modded framework and semcgenericres files..
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
use apk manager ics...u wont have this problem..
in apk tool even i got same error
U got download link for that??
Sent from my SK17i using xda premium
Sudanminipro said:
U got download link for that??
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
u get links here http://forum.xda-developers.com/showthread.php?t=1923675

Can' t recompiling framework-res

Hi, I searched all internet, but I still don't know why I can't recompile my framework-res.apk
I can decompile it, but only via newest APKTool, other ways getting error.
And recompiling ... I just tried decompile and recompile it, do nothing and it don't work.... I want change language in my phone to polish, it is Kiphone 5s, phone is great, but I can't recompile my translated xml file, because it don' work. It doesn't matter if I use changed files or stock files. Please help me with this.
My log, tried recompiling stock decompiled files ...
[*] framework-res folder
recompiling framework-res.apk...
W: Could not find sources
I: Building resources...
invalid resource directory name: C:\Users\Adrian\Desktop\xdaAutoAPKTool_V4.0.0\_INPUT_APK\framework-res\res/drawable-ldrtl-hdpi
invalid resource directory name: C:\Users\Adrian\Desktop\xdaAutoAPKTool_V4.0.0\_INPUT_APK\framework-res\res/mipmap-xxhdpi
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Adrian\AppData\Local\Temp\APKTOOL1644207117153092899.tmp, -x, -S, C:\Users\Adrian\Desktop\xdaAutoAPKTool_V4.0.0\_INPUT_APK\framework-res\res, -M, C:\Users\Adrian\Desktop\xdaAutoAPKTool_V4.0.0\_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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Adrian\AppData\Local\Temp\APKTOOL1644207117153092899.tmp, -x, -S, C:\Users\Adrian\Desktop\xdaAutoAPKTool_V4.0.0\_INPUT_APK\framework-res\res, -M, C:\Users\Adrian\Desktop\xdaAutoAPKTool_V4.0.0\_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
Nie moľna odnale«† dysku.
@Amcio
Try to use the GUI APK Tool for decompiling/recompiling APKs
@eduds
Hi, much thanks for reply, but it still not work ... Are yo have any ideas ? Maybe I will send you file ?
It is log:
2013-12-21
17:31:02,45
Decompiling..
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x01080301 drawable/ic_ab_back_holo_dark, config=-hdpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:197)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:166)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:131)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:106)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:390)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:56)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:48)
at brut.androlib.Androlib.getResTable(Androlib.java:48)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:166)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)
@Amcio
Try to decompile and recompile right after, without change anything.
Sent from my GT-I9070 using XDA Premium 4 mobile app

[Q] apktool errors ( help me plSss )

I'm using apktool on my cherry mobile topaz
I decompile my systemui and recompile it again without doing or changing anything
and it gives me this errors !
W: Could not find sources
I: Building resources...
W: aapt location could not be found. Defaulting back to default
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL2993844565012153827.tmp, -I, ?/apktool/framework/1.apk, -S, /sdcard/apktool/frame/SystemUI_src/res, -M, /sdcard/apktool/frame/SystemUI_src/AndroidManifest.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, /data/data/per.pqy.apktool/APKTOOL2993844565012153827.tmp, -I, ?/apktool/framework/1.apk, -S, /sdcard/apktool/frame/SystemUI_src/res, -M, /sdcard/apktool/frame/SystemUI_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL2993844565012153827.tmp, -I, ?/apktool/framework/1.apk, -S, /sdcard/apktool/frame/SystemUI_src/res, -M, /sdcard/apktool/frame/SystemUI_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:93)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
at java.lang.Runtime.exec(Runtime.java:615)
at java.lang.Runtime.exec(Runtime.java:483)
at brut.util.OS.exec(OS.java:84)
... 7 more
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
... 10 more
can anyone help me plss.
plss
help plsss
up !!! plsss help
xxraicentxx said:
up !!! plsss help
Click to expand...
Click to collapse
Are you running APK tool with aapt from the android sdk ?
See code.google.com/p/android-apktool/issues/detail?id=213 (just add the https before, I cannot post any link ;( )
ebtokyo said:
Are you running APK tool with aapt from the android sdk ?
See code.google.com/p/android-apktool/issues/detail?id=213 (just add the https before, I cannot post any link ;( )
Click to expand...
Click to collapse
I'm using apktool on my cherry mobile topaz
local from Phil.
and it always give me that error even if I don't do anything on my systemui.apk ..
what should i do ? is there something wrong with the setups ?
here's the apktool path on my phone .
sdcard/apktool/new folder/framework-res.apk
plss help me get rid of this errors ..

Categories

Resources