Closed GoogleCodeExporter closed 9 years ago
You give the parameter to the folder that the decoded application went to. Not
the APK.
ex
apktool d test.apk
apktool b test
Original comment by connor.tumbleson
on 13 Apr 2014 at 3:04
Here are my steps -
1) apktool d test.apk
without any modification when I do -
2) apktool d test.apk - I get following error -
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:183)
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.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
FYI -
- I downloaded framework file from my phone and installed it successfully using
apktool. However, no success in compiling the code.
Any help is appreciated
Original comment by rajeshve...@gmail.com
on 31 Aug 2014 at 11:46
point 2 should be read as "2) apktool b test.apk"
Original comment by rajeshve...@gmail.com
on 31 Aug 2014 at 11:47
Which is wrong.
apktool b test
Original comment by connor.tumbleson
on 31 Aug 2014 at 12:10
when I do "apktool b test" I still have same error -
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:183)
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.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
how to solve the problem?
Original comment by rajeshve...@gmail.com
on 9 Nov 2014 at 5:53
change the current directory(using cd command) to where the 'apktool.yml' file
exists (mine is inside 'out' directory.
then run your command line ...e.g.
I:\apktool>java -jar apktool_2.0.0rc3.jar b -d -o out
I: Using Apktool 2.0.0-RC3 on .
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:245)
at brut.androlib.Androlib.build(Androlib.java:257)
at brut.androlib.Androlib.build(Androlib.java:250)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:240)
... 4 more
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I:\apktool>cd out
I:\apktool\out>java -jar ./../apktool_2.0.0rc3.jar b -d -o out
I: Using Apktool 2.0.0-RC3 on .
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
Warning: AndroidManifest.xml already defines debuggable (in http://schemas.andro
id.com/apk/res/android); using existing value in manifest.
I: Building apk file...
That's all :)
Original comment by 22dec2012@gmail.com
on 8 Dec 2014 at 12:25
Original issue reported on code.google.com by
siddhant...@gmail.com
on 13 Apr 2014 at 5:16