i got this when recompile... eror what can i do ? please help me
C:\Users\Novin Pendar\Desktop\a>apktool b SystemUI almostdone.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java: 168)
at brut.androlib.Androlib.build(Androlib.java:185)
at brut.androlib.Androlib.build(Androlib.java:180)
at brut.apktool.Main.cmdBuild(Main.java:209)
at brut.apktool.Main.main(Main.java:72)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(Abst ractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java: 164)
... 4 more
victor711 said:
i got this when recompile... eror what can i do ? please help me
C:\Users\Novin Pendar\Desktop\a>apktool b SystemUI almostdone.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java: 168)
at brut.androlib.Androlib.build(Androlib.java:185)
at brut.androlib.Androlib.build(Androlib.java:180)
at brut.apktool.Main.cmdBuild(Main.java:209)
at brut.apktool.Main.main(Main.java:72)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(Abst ractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java: 164)
... 4 more
Click to expand...
Click to collapse
sorry for not seeing on gmail
i wasnt there to talk i just saw it now P
come in gtalk
Put in "Install Framework" Framework.apk from "Framework" folder and original file that you decompiled in "Install resource" .
Works 100000%
Related
I have been using apktool 1.4.3 to decompile and recompile framework-res.apk without any problem.
However while I can decompile SystemUI.apk without problem, I cannot recompile it. The error is shown below.
I have done searching in this forum but still can't find the solution.
Please kindly help thanks.
Code:
C:\apktool>apktool b systemui.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
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.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
C:\apktool>
Problem solved
the command should be
apktool b SystemUI
I want to decompile and compile modified apk. (SystemUI.apk). I have error in apk tool. How can I ?
Dully79 said ; Have you installed TW framework??
Have you installed Jkays framework??
If no then install it.
http://forum.xda-developers.com/showpost.php?p=27519319&postcount=11
How can I install framework re-sources in apktool ?
If I try compile SystemUI.apk this error ;
Code:
[*] SystemUI
recompiling SystemUI...
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
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.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
The system can not find identified driver.
Arnadel said:
I want to decompile and compile modified apk. (SystemUI.apk). I have error in apk tool. How can I ?
Dully79 said ; Have you installed TW framework??
Have you installed Jkays framework??
If no then install it.
http://forum.xda-developers.com/showpost.php?p=27519319&postcount=11
How can I install framework re-sources in apktool ?
If I try compile SystemUI.apk this error ;
Code:
[*] SystemUI
recompiling SystemUI...
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
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.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
The system can not find identified driver.
Click to expand...
Click to collapse
Same problem here, but I'm on iMac. Got SDK and everything, yet I get this message. I have red somewhere that this is a common problem with 4.0.3 apk creating...
use this tool
http://forum.xda-developers.com/showthread.php?t=1189971
@[email protected] said:
use this tool
http://forum.xda-developers.com/showthread.php?t=1189971
Click to expand...
Click to collapse
Win only?
I am currently working on creating a new rom for the Note 2 (XXDLL4 - 4.1.2) and I was trying to edit SecSettingsProvider.apk. While I could decompile it, apktool kept bringing up errors while compiling even when not even modifying the apk. On other system files it worked correctly so I'm wondering if there's a different process to use with this file ?
This is the error :
Code:
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:168)
at brut.androlib.Androlib.build(Androlib.java:185)
at brut.androlib.Androlib.build(Androlib.java:180)
at brut.apktool.Main.cmdBuild(Main.java:209)
at brut.apktool.Main.main(Main.java:72)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
... 4 more
Thanks
Im trying to recompile using Team rejects quick fix 2.0 im dragging the folder apk to the quick-recompile cmd file and i get this error. Am I suppose to add apktool to a path?
Team Rejectz QUICK FIX
Compiling...
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:162)
at brut.androlib.Androlib.build(Androlib.java:179)
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.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:158)
... 4 more
!!!Aborted!!!
Press any key to continue . . .
prguzman1978 said:
Im trying to recompile using Team rejects quick fix 2.0 im dragging the folder apk to the quick-recompile cmd file and i get this error. Am I suppose to add apktool to a path?
Team Rejectz QUICK FIX
Compiling...
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:162)
at brut.androlib.Androlib.build(Androlib.java:179)
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.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:158)
... 4 more
!!!Aborted!!!
Press any key to continue . . .
Click to expand...
Click to collapse
Is this the problem you pm'd me about or something new?
Sent from my SPH-D710 using xda premium
Issue resolved it wasn't compiling properly because apktool.yml was missing.
Sent from my SPH-D710 using xda premium
prguzman1978 said:
Issue resolved it wasn't compiling properly because apktool.yml was missing.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Glad you fixed it:good:
hi ,
error while compiling code of miui 7 for xperia m ..please help on this
[email protected]:~/patchrom/nicki_c19051$ make fullota
>>> build out/services.jar...
/home/abhinav/patchrom/tools/add_miui_smail.sh >/dev/null out/services_miui out/services
/home/abhinav/patchrom/tools/apktool --quiet b out/services -o out/services.jar
out/services/smali/com/android/server/am/ActivityManagerService.smali[16752,0] Cannot get the location of a label that hasn't been placed yet.
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/server/am/ActivityManagerService.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:71)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:55)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:354)
at brut.androlib.Androlib.buildSources(Androlib.java:294)
at brut.androlib.Androlib.build(Androlib.java:280)
at brut.androlib.Androlib.build(Androlib.java:255)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
/home/abhinav/patchrom/build/porting.mk:330: recipe for target 'out/services.jar' failed
abhinav1293 said:
hi ,
error while compiling code of miui 7 for xperia m ..please help on this
[email protected]:~/patchrom/nicki_c19051$ make fullota
>>> build out/services.jar...
/home/abhinav/patchrom/tools/add_miui_smail.sh >/dev/null out/services_miui out/services
/home/abhinav/patchrom/tools/apktool --quiet b out/services -o out/services.jar
out/services/smali/com/android/server/am/ActivityManagerService.smali[16752,0] Cannot get the location of a label that hasn't been placed yet.
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/server/am/ActivityManagerService.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:71)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:55)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:354)
at brut.androlib.Androlib.buildSources(Androlib.java:294)
at brut.androlib.Androlib.build(Androlib.java:280)
at brut.androlib.Androlib.build(Androlib.java:255)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
/home/abhinav/patchrom/build/porting.mk:330: recipe for target 'out/services.jar' failed
Click to expand...
Click to collapse
maybe @STRYDER~007 can help you in this or for a while use his guide
here
http://forum.xda-developers.com/android/software/guide-build-port-miui-rom-to-device-t3250984
good luck for your rom and eagerly waiting for your rom :good: