I am trying to decompile/recompile SystemUI.apk (wanting to change signal icons) and I can get it to decompile fine but can't get it to recompile. Does anyone know what it is dependent upon?
Apparently you need to install the framework Res in apktool I will try and tackle this today
Sent from my MB855 using xda premium
I've renamed the framwork-res.apk to 1.apk inside of the apktool folder and still will not recompile. feelsbadman
anyone have an idea of wtf i am doing wrong?
Code:
[email protected]:~/Downloads/APKTOOL$ ./apktool if /home/max/Downloads/APKTOOL/framework-res.apk
I: Framework installed to: /home/max/apktool/framework/1.apk
[email protected]:~/Downloads/APKTOOL$ ./apktool d /home/max/Downloads/APKTOOL/SystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: /home/max/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
[email protected]:~/Downloads/APKTOOL$ ./apktool b /home/max/Downloads/APKTOOL/SystemUI
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/APKTOOL2108136978131126048.tmp, -I, /home/max/apktool/framework/1.apk, -S, /home/max/Downloads/APKTOOL/SystemUI/res, -M, /home/max/Downloads/APKTOOL/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:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL2108136978131126048.tmp, -I, /home/max/apktool/framework/1.apk, -S, /home/max/Downloads/APKTOOL/SystemUI/res, -M, /home/max/Downloads/APKTOOL/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": 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
[email protected]:~/Downloads/APKTOOL$
I finally got it to work!!!!!!
here is a screeen I just wanted to edit the signal bars to an appp I used from Tmobile theme manager that has clouds
this is with wifi on
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
this is just 3g
I would like to clarify that I didn't create anything only took pngs from the orginal apk. Ill find it and post it here later
edit: I took the pngs from here
how to recompile work?
shinyu said:
how to recompile work?
Click to expand...
Click to collapse
are you using apktool?
If so you need to install framework-res.apk the systemui.apk is dependant upon it.
To replace icons you don't decompile. Simply open the apk in 7zip and swap out the files. That's it...
Sent from my MB855 using xda premium
what u said didnt work. just made the systemui file not work at all
---------- Post added at 01:08 AM ---------- Previous post was at 01:07 AM ----------
edit: sorry didnt realise the last post date
Swap out files using 7zip, close the archive and save to sd card, switch permission to rw-r-r and move too system/app...reboot!
Sent from my MB855 using xda premium
So just moving the apk file to system/app works? Does the system automatically unpackage and read the file contents? Sorry just trying to understand how Android stuff works.
How do I know what checkboxes in Root Explorer I select for rw-r-r ?
mk3 said:
So just moving the apk file to system/app works? Does the system automatically unpackage and read the file contents? Sorry just trying to understand how Android stuff works.
How do I know what checkboxes in Root Explorer I select for rw-r-r ?
Click to expand...
Click to collapse
Yes........after reboot
Related
I have problems decompiling settings.apk of stock rom with panel settings in it. This is Apkmanager's log
Code:
--------------------------------------------------------------------------
|17-Jul-12 -- 9:43:22.38|
--------------------------------------------------------------------------
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
Could Not Find E:\mini pro\Apk_Manager_5.0.2_ICS_APKTool_fix\place-apk-here-for-modding\../place-apk-here-for-modding/signedSettings.apk
Could Not Find E:\mini pro\Apk_Manager_5.0.2_ICS_APKTool_fix\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSettings.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Sudan\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
this is a screen shot of ApkManager showing the error
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As far as I know, 2.apk is for samsung and other ROMS which have dependencies other than framework-res.apk. Then why is ApkManager asking me to install 2.apk please help
Sudanminipro said:
I have problems decompiling settings.apk of stock rom with panel settings in it. This is Apkmanager's log
Code:
--------------------------------------------------------------------------
|17-Jul-12 -- 9:43:22.38|
--------------------------------------------------------------------------
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
Could Not Find E:\mini pro\Apk_Manager_5.0.2_ICS_APKTool_fix\place-apk-here-for-modding\../place-apk-here-for-modding/signedSettings.apk
Could Not Find E:\mini pro\Apk_Manager_5.0.2_ICS_APKTool_fix\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSettings.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Sudan\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
this is a screen shot of ApkManager showing the error
View attachment 1203527
As far as I know, 2.apk is for samsung and other ROMS which have dependencies other than framework-res.apk. Then why is ApkManager asking me to install 2.apk please help
Click to expand...
Click to collapse
2.apk is SEMC framework called SemcGenericUxpRes.apk.
You need to go to folder where is apktool.jar placed and copy 'SemcGenericUxpRes.apk' (phone memory/system/framework) to this folder.
Open cmd and in prompt go to folder where is placed apktool.jar
in cmd type: java -jar apktool.jar if SemcGenericUxpRes.apk
Now you have 2.apk installed
reaper61616 said:
2.apk is SEMC framework called SemcGenericUxpRes.apk.
You need to go to folder where is apktool.jar placed and copy 'SemcGenericUxpRes.apk' (phone memory/system/framework) to this folder.
Open cmd and in prompt go to folder where is placed apktool.jar
in cmd type: java -jar apktool.jar if SemcGenericUxpRes.apk
Now you have 2.apk installed
Click to expand...
Click to collapse
Just did this confirming it works, I was also stuck.
Cheers,
Evil.
reaper61616 said:
2.apk is SEMC framework called SemcGenericUxpRes.apk.
You need to go to folder where is apktool.jar placed and copy 'SemcGenericUxpRes.apk' (phone memory/system/framework) to this folder.
Open cmd and in prompt go to folder where is placed apktool.jar
in cmd type: java -jar apktool.jar if SemcGenericUxpRes.apk
Now you have 2.apk installed
Click to expand...
Click to collapse
Thanks a lot
evilbarcode said:
Just did this confirming it works, I was also stuck.
Cheers,
Evil.
Click to expand...
Click to collapse
Thanks for confirming that it works
Decompiling Error
I want to decompile the 4.3 Settings.apk of the Xperia ZL.
I use the latest ApkTool
My Steps :
1. i install the framework-res.apk
2. i decompile the Settings.apk
after decompile comes the Error:
Can't find framework resources for package of id: 2. You must install proper fra
mework files, see project website for more info.
What must i do....or what did i have forgotten.
Hi all.
I´m having an issue when I try to decompile a theme for cm9 (this one http://forum.xda-developers.com/showthread.php?t=1673652 I do have permision to do so from creator)
I´ve installed this java "jdk1.7.0_07 for 64bit windows" when I run "java -version" in cmd I get
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
which I think means I dont have to add the path right ?
I´ve installed android-sdk aswell as platform-tools, and added C:\Program Files (x86)\Android\android-sdk\platform-tools in path, I can do adb command if I CD to the folder.
I have taken the framework-res.apk and SystemUI.apk from my phone, renamed the first one 1.apk and 2nd one 2.apk and placed them in the "User\apktool\framework" folder location.
But when I set the corect project in apkmanager 5.0.2 and then try to decompile I get this error in log.
Code:
|10-10-2012 -- 19:06:14,36|
--------------------------------------------------------------------------
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
E:\User\Desktop\and\place-apk-here-for-modding\../place-apk-here-for-modding/signedtheme.apk blev ikke fundet.
E:\User\Desktop\and\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedtheme.apk blev ikke fundet.
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: E:\User\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010301e9
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:43)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:48)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:264)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:137)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
Can anyone see what I´m doing wrong, and point me in the right direction to fix it?
And I´m just trying to theme the phone signal icons from grey to yellow.
Phone is SGS2 I9100 and on stock CM9
really, no one have any experience with this ?
More details, Ive installed these two.
http://www.oracle.com/technetwork/java/javase/downloads/jre-7u2-download-1377135.html for 64bit
http://www.oracle.com/technetwork/java/javase/downloads/jdk7u7-downloads-1836413.html for 64bit
---final edit---
got it fixed now
I guess JDK 1.6 is needed for it to work properly as mentioned here. As Android officially supports the 1.6 version only. But doesn't matter, as you've already got it fixed.
pharaohdk said:
More details, Ive installed these two.
http://www.oracle.com/technetwork/java/javase/downloads/jre-7u2-download-1377135.html for 64bit
http://www.oracle.com/technetwork/java/javase/downloads/jdk7u7-downloads-1836413.html for 64bit
---final edit---
got it fixed now
Click to expand...
Click to collapse
can i knw how did u fix it...............
Hi guys i downloaded the new AOSP JB Clock,Android Police said thats its only working on JB so i checked it.
First i tried to push it to system/app after trying to start (on ICS) it gave fc.
Ok but the Widget was working.
So i took a look in android manifest.xml
Min androidsdk was: 15 which is Android 4.03 (ICS)
Targeting androidsdk was 17 JB
So just change the target to "15" and the app should work
Sent from my SK17i using xda app-developers app
can you share already modified apk?
KhemaraS. said:
Hi guys i downloaded the new AOSP JB Clock,Android Police said thats its only working on JB so i checked it.
First i tried to push it to system/app after trying to start (on ICS) it gave fc.
Ok but the Widget was working.
So i took a look in android manifest.xml
Min androidsdk was: 15 which is Android 4.03 (ICS)
Targeting androidsdk was 17 JB
So just change the target to "15" and the app should work
Sent from my SK17i using xda app-developers app
Click to expand...
Click to collapse
yeah.can u post it here?
Decomplie deskclock.apk no error changed SDK version Not recomplie Error
Code:
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
C:\Users\Root\Desktop\Apk_Manager_ICS - Kopya\place-apk-here-for-modding\../place-apk-here-for-modding/signedDeskClockGoogle.apk Bulunamad
C:\Users\Root\Desktop\Apk_Manager_ICS - Kopya\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedDeskClockGoogle.apk Bulunamad
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Root\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Root\Desktop\Apk_Manager_ICS - Kopya\other\..\projects\DeskClockGoogle.apk\AndroidManifest.xml:45: error: No resource identifier found for attribute 'showOnLockScreen' in package 'android'
C:\Users\Root\Desktop\Apk_Manager_ICS - Kopya\other\..\projects\DeskClockGoogle.apk\AndroidManifest.xml:92: error: No resource identifier found for attribute 'showOnLockScreen' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Root\AppData\Local\Temp\APKTOOL6204651241436718691.tmp, -I, C:\Users\Root\apktool\framework\1.apk, -S, C:\Users\Root\Desktop\Apk_Manager_ICS - Kopya\other\..\projects\DeskClockGoogle.apk\res, -M, C:\Users\Root\Desktop\Apk_Manager_ICS - Kopya\other\..\projects\DeskClockGoogle.apk\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\Root\AppData\Local\Temp\APKTOOL6204651241436718691.tmp, -I, C:\Users\Root\apktool\framework\1.apk, -S, C:\Users\Root\Desktop\Apk_Manager_ICS - Kopya\other\..\projects\DeskClockGoogle.apk\res, -M, C:\Users\Root\Desktop\Apk_Manager_ICS - Kopya\other\..\projects\DeskClockGoogle.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
pls Share Worked APK
I've try this and its dont working
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Motorola Occam using Tapatalk 2 Beta
When I compile a file. APK it this error, what to do now, help me !!!. I use APK Manager 5.0.2
|Sun 06/16/2013 -- 16:50:04.76|
--------------------------------------------------------------------------
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Client VM (build 23.21-b01, mixed mode, sharing)
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Apk_Manager_5.0.2\other\..\projects\MiuiHome
.apk\res/drawable-largeui-hdpi
invalid resource directory name: C:\Apk_Manager_5.0.2\other\..\projects\MiuiHome
.apk\res/values-largeui-hdpi
invalid resource directory name: C:\Apk_Manager_5.0.2\other\..\projects\MiuiHome
.apk\res/values-w320dp-largeui-hdpi
invalid resource directory name: C:\Apk_Manager_5.0.2\other\..\projects\MiuiHome
.apk\res/values-w360dp-largeui-hdpi
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\TAHUUT~1\AppData\Local\Tem
p\APKTOOL3737183698300827539.tmp, -I, C:\Users\ta huu thuy\apktool\framework\1.a
pk, -I, C:\Users\ta huu thuy\apktool\framework\6.apk, -S, C:\Apk_Manager_5.0.2\o
ther\..\projects\MiuiHome.apk\res, -M, C:\Apk_Manager_5.0.2\other\..\projects\Mi
uiHome.apk\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:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\TAHUUT~1\AppData\Local\Temp\APKTOOL3737183698300827539.tmp, -I, C:\Users\ta
huu thuy\apktool\framework\1.apk, -I, C:\Users\ta huu thuy\apktool\framework\6.
apk, -S, C:\Apk_Manager_5.0.2\other\..\projects\MiuiHome.apk\res, -M, C:\Apk_Man
ager_5.0.2\other\..\projects\MiuiHome.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Try to change the folder name and re-compile.
Deleted
I have the same problem...
Windows 8.1 - Java 1.7 (i use apktool_2.0.0b7.jar but i have the same problem with old version)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Chacc said:
I have the same problem...
Windows 8.1 - Java 1.7 (i use apktool_2.0.0b7.jar but i have the same problem with old version)
Click to expand...
Click to collapse
Use apktool original its the best and its easy!
Seems u chamged values of something, and replaced with a valie not accepted
Sent from my GT-P3110 using Tapatalk 4
mitchellreece said:
Use apktool original its the best and its easy!
Seems u chamged values of something, and replaced with a valie not accepted
Sent from my GT-P3110 using Tapatalk 4
Click to expand...
Click to collapse
Yes i have solved it
help! error when compiling .apk
Can any body here help me how to compile apk.. when i compile it.. it give me an error.. i cant comompile it.. is there any apktool that works properly?.
I Have Setup JAVA_HOME But facing Some Problem like In screenshot With advance apk tool and simple apktool.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Earlier when i only used JRE I done it also worked flawless but when i installed JDK something like this Arise
HELP ME AND MY FRIENDS AS MANY OF THEM FACING PROBLEM
I also tryed reinstalling JAVA JDK And JRE 2 times
You have to scroll down System Variable list and when you reach PATH variable, edit it and add directory containing java at end of it.
iamareebjamal said:
You have to scroll down System Variable list and when you reach PATH variable, edit it and add directory containing java at end of it.
Click to expand...
Click to collapse
Thanks A Lot My Big Bro Always Help Me I was doing Silly Mistake.
iamareebjamal said:
You have to scroll down System Variable list and when you reach PATH variable, edit it and add directory containing java at end of it.
Click to expand...
Click to collapse
Code:
F:\apktool>apktool b framework-res.apk
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
Facing This ProBlem In Compiling Frame-res.apk
Regards Bro
SMARTY BOY said:
Code:
F:\apktool>apktool b framework-res.apk
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
Facing This ProBlem In Compiling Frame-res.apk
Regards Bro
Click to expand...
Click to collapse
It wasn't decompiled correctly. apktool.yml is auto generated on complete decompiling. But as the compiling program can't find it, it means that the app wasn't decompiled successfully.
iamareebjamal said:
It wasn't decompiled correctly. apktool.yml is auto generated on complete decompiling. But as the compiling program can't find it, it means that the app wasn't decompiled successfully.
Click to expand...
Click to collapse
Tried many times with Other ROMs FRAMEWORK-RES.APK But still gettings Same Problem. I Am Using Latest Apktool and always Facing The same Error while recompiling.
Regards