I'm not getting compila an APK file, can someone compile to me? :laugh:
https://app.box.com/s/9kvw31wslyb7wuwjphse
Dqt said:
I'm not getting compila an APK file, can someone compile to me? :laugh:
Click to expand...
Click to collapse
Some more information would be useful
For example with what are you trying to compile it?
What isn't going good? errors ? bugs ?
Lowerland said:
Some more information would be useful
For example with what are you trying to compile it?
What isn't going good? errors ? bugs ?
Click to expand...
Click to collapse
i'm using apktool1.4.3
Well...
Code:
Caused by: brut.common.BrutException: could not exec command: [aapt...
You need to update your aapt.exe file (the easier way to get the newest file is installing Android SDK).
RoberGalarga said:
Well...
Code:
Caused by: brut.common.BrutException: could not exec command: [aapt...
You need to update your aapt.exe file (the easier way to get the newest file is installing Android SDK).
Click to expand...
Click to collapse
I'm also reading on some Internet posts that this can also be a PATH Problem
Placing a copy of aapt executable to the C:\Windows\ folder should maybe help
Or add aapt executable to your system PATHS so windows can find it
Lowerland said:
I'm also reading on some Internet posts that this can also be a PATH Problem
Placing a copy of aapt executable to the C:\Windows\ folder should maybe help
Or add aapt executable to your system PATHS so windows can find it
Click to expand...
Click to collapse
i placed a copy of aapt to Windows folder and continues with the error.
RoberGalarga said:
Well...
Code:
Caused by: brut.common.BrutException: could not exec command: [aapt...
You need to update your aapt.exe file (the easier way to get the newest file is installing Android SDK).
Click to expand...
Click to collapse
i downloaded this aapt.exe http://d-h.st/DBi and replaced on apktool folder and continues with error
RoberGalarga said:
Well...
Code:
Caused by: brut.common.BrutException: could not exec command: [aapt...
You need to update your aapt.exe file (the easier way to get the newest file is installing Android SDK).
Click to expand...
Click to collapse
Dqt said:
i downloaded this aapt.exe d-h.st/DBi and replaced on apktool folder and continues with error
Click to expand...
Click to collapse
Like RoberGalarga already said
Try updating it with the newest file from the Android SDK
developer.android.com/sdk/index.html
Lowerland said:
Like RoberGalarga already said
Try updating it with the newest file from the Android SDK developer.android.com/sdk/index.html
Click to expand...
Click to collapse
i'm trying to download but seems this download link is off (is only trying to connect), do you have another link?
sorry for my english ^^
Dqt said:
i'm trying to download but seems this download link is off (is only trying to connect), do you have another link?
sorry for my english ^^
Click to expand...
Click to collapse
Put h t t p s : / / in front of it because xda wont let me post links yet because I'm a (new user)
developer.android.com/sdk/index.html
Lowerland said:
Put h t t p s : / / in front of it because xda wont let me post links yet because I'm a (new user)
developer.android.com/sdk/index.html
Click to expand...
Click to collapse
i found another link and im downloading now. ^^
Lowerland said:
Put h t t p s : / / in front of it because xda wont let me post links yet because I'm a (new user)
developer.android.com/sdk/index.html
Click to expand...
Click to collapse
i installed but still not working...
Dqt said:
i installed but still not working...
Click to expand...
Click to collapse
i don't use apktool myself so not sure what is causing it and how to fix it
this is also may be a interesting page for you to look at:
https://code.google.com/p/android-apktool/issues/detail?id=282
Lowerland said:
i don't use apktool myself so not sure what is causing it and how to fix it
this is also may be a interesting page for you to look at:
https://code.google.com/p/android-apktool/issues/detail?id=282
Click to expand...
Click to collapse
which method you use?
i gave up trying to use apktool
edit: i tried using APK Manager but it shows the same error.
Lowerland said:
which method you use?
i gave up trying to use apktool
edit: i tried using APK Manager but it shows the same error.
Click to expand...
Click to collapse
Can you compile the apk file? Later ill try solve this problem
Dqt said:
Can you compile the apk file? Later ill try solve this problem
Click to expand...
Click to collapse
nope sorry i never did manual compiling so don't even know where to start with it.
Anybody else maybe who can help?
Lowerland said:
nope sorry i never did manual compiling so don't even know where to start with it.
Anybody else maybe who can help?
Click to expand...
Click to collapse
Ok, thanks ^^
use apktool
system app framework required
apktool if framework-res.apk
apktool d (APKFILE).apk
apktool b (dir) (newapkfile).apk
Dqt did this solve your problem
Just curious
All you need to know can be found here - [Advice/Reference/Guide] The Definitive APK Modding & Theming Thread...
Related
Hey guys
I tried to build a new Settings.apk for my Rom, but the problem is I can´t build the app after changing the xml files!
I added a Screenshot and YES, I have Frameworks and SystemUl installed!
Thx!
Read the line under 'building resources'
You don't have an Id for the mentioned thing in settingsheader.xml
you need to create an entry in res\values\ids.xml for advanced_settings
DSA said:
Read the line under 'building resources'
You don't have an Id for the mentioned thing in settingsheader.xml
Click to expand...
Click to collapse
Oke, sry, I forgot to tell! This is not true. I copied everything correct! Even if I decompile and build it without changing anything, I get this errors!
Then its not decompiling properly
What apktool and aapt are you using?
Is your SDK updated?
Also try asking in the apktool thread over in the android section... likely to get more responses :highfive:
Eta:
That's the only issue that apktool has, have you decompiled it, added the Id entry then immediately recompiled?
DSA said:
Then its not decompiling properly
What apktool and aapt are you using?
Is your SDK updated?
Also try asking in the apktool thread over in the android section... likely to get more responses :highfive:
Eta:
That's the only issue that apktool has, have you decompiled it, added the Id entry then immediately recompiled?
Click to expand...
Click to collapse
SDK is up to date.
Downloaded new APKTool from website and now I only got the translation error :/
Those translations are warnings not errors...should be ok
iWilliBlecha said:
SDK is up to date.
Downloaded new APKTool from website and now I only got the translation error :/
Click to expand...
Click to collapse
They're just warnings. Shouldn't be anything to worry about
Oke, thank you guys
iWilliBlecha said:
Hey guys
I tried to build a new Settings.apk for my Rom, but the problem is I can´t build the app after changing the xml files!
I added a Screenshot and YES, I have Frameworks and SystemUl installed!
Thx!
Click to expand...
Click to collapse
Can You Teach Me How To Use ApkTool
Hello to all. I want to change the name of the Rom in "lidroid," but I have some problems about.
1) I Use APK Multi Tool.
2) I Decompil the file "lidroid."
3) With Notepad + + correctly I modify the name of the Rom in "Values / strings".
4) Save all and re compile.
5) All ok, the program does not provide errors at compile time, but ...
6) When I replace the new File "lidroid" in the Phone Directory it does' nt works (the notifications barr disappears).
I followed all the guides here, on XDA present, the operations are corrects, but nothing.
Can anyone help me? What could be wrong? Thanks.
glowerita said:
Hello to all. I want to change the name of the Rom in "lidroid," but I have some problems about.
1) I Use APK Multi Tool.
2) I Decompil the file "lidroid."
3) With Notepad + + correctly I modify the name of the Rom in "Values / strings".
4) Save all and re compile.
5) All ok, the program does not provide errors at compile time, but ...
6) When I replace the new File "lidroid" in the Phone Directory it does' nt works (the notifications barr disappears).
I followed all the guides here, on XDA present, the operations are corrects, but nothing.
Can anyone help me? What could be wrong? Thanks.
Click to expand...
Click to collapse
If you mean lidroid-res.apk, did you 'if' the three additional frameworks before decompiling (and modify apktool.yml before recompiling)?
Reference
Spannaa said:
If you mean lidroid-res.apk, did you 'if' the three additional frameworks before decompiling (and modify apktool.yml before recompiling)?
Reference
Click to expand...
Click to collapse
Yes, I am referring to "lidroid res.APK."
Yes, I modified the file "apktool.yml" (as read on a guide on XDA, perhaps even your own, can not remember), but nothing.
Sorry ... what do you mean with "did you 'if' the three additional frameworks before decompiling"? If I have Add "Twframewprk-res.APK" and "SystemUI" in the "others" Folders ?
Thanks for the answer in the meantime.
glowerita said:
Yes, I am referring to "lidroid res.APK."
Yes, I modified the file "apktool.yml" (as read on a guide on XDA, perhaps even your own, can not remember), but nothing.
Sorry ... what do you mean with "did you 'if' the three additional frameworks before decompiling"?
Thanks for the answer in the meantime.
Click to expand...
Click to collapse
Like in my link to wanam's "How to mod Lidroid framework for JellyBean Roms" post:
wanam said:
Code:
apktool.bat if path_to/framework-res.apk
apktool.bat if path_to/twframework-res.apk
[COLOR="Red"]apktool.bat if path_to/wanam3.apk
apktool.bat if path_to/wanam4.apk
apktool.bat if path_to/wanam5.apk[/COLOR]
Click to expand...
Click to collapse
glowerita said:
Yes, I am referring to "lidroid res.APK."
Yes, I modified the file "apktool.yml" (as read on a guide on XDA, perhaps even your own, can not remember), but nothing.
Sorry ... what do you mean with "did you 'if' the three additional frameworks before decompiling"? If I have Add "Twframewprk-res.APK" and "SystemUI" in the "others" Folders ?
Thanks for the answer in the meantime.
Click to expand...
Click to collapse
The "if" means "Install Framework".
wanam said:
The "if" means "Install Framework".
Click to expand...
Click to collapse
Thank you again. Not this one, I had not done. Should be added into the folder "others" in these three files APK Tool?
glowerita said:
Thank you again. Not this one, I had not done. Should be added into the folder "others" in these three files APK Tool?
Click to expand...
Click to collapse
I'm not sure - I use Apktool not APK Multi-Tool.
Spannaa said:
I'm not sure - I use Apktool not APK Multi-Tool.
Click to expand...
Click to collapse
When i'll come back home (now i'm at work) will try.
Thanks again for your kindless.
Inviato dal mio GT-I9100 utilizzando Tapatalk
Edit: Lidroid works great! Thanks Spannaa, I will never cease to thank you!
Click to expand...
Click to collapse
Hi All. As the subject title, It reports error when I first build android os.
I used the command "make".
Java version is jdk-1.6.0_45 (amd64)
What should I do next?
Sent from my ST25i using xda premium
Spelling error, or a missing file.
Check if exists a file in the "fmredio/java" directory, by the way, do you mean "fmradio"?
Same error like him.
manudo said:
Spelling error, or a missing file.
Check if exists a file in the "fmredio/java" directory, by the way, do you mean "fmradio"?
Same error like him.
Click to expand...
Click to collapse
Yes, I'm using XNovaThor Project source. sorry for my poor English. I do not know how to explanation
this is the screenshot:
View attachment 2457109
manudo said:
Spelling error, or a missing file.
Check if exists a file in the "fmredio/java" directory, by the way, do you mean "fmradio"?
Same error like him.
Click to expand...
Click to collapse
Yes, I'm using XNovaThor Project source. sorry for my poor English. I do not know how to explanation
this is the screenshot:
View attachment 2457110
uplaod image error
Logic.Hoo said:
Yes, I'm using XNovaThor Project source. sorry for my poor English. I do not know how to explanation
this is the screenshot:
View attachment 2457109
Click to expand...
Click to collapse
You don't know how to explain, what? The error?
Try to check the spelling, if it's really exists a java file in the fmradio directory or viceversa. It's required to get that file to the "make" instruction.
manudo said:
You don't know how to explain, what? The error?
Try to check the spelling, if it's really exists a java file in the fmradio directory or viceversa. It's required to get that file to the "make" instruction.
Click to expand...
Click to collapse
thanx, I well try my best to fix this problem.
Logic.Hoo said:
thanx, I well try my best to fix this problem.
Click to expand...
Click to collapse
Check for those files, are needed to build.
Ill start with my story...I want to modify settings.apk and put a few of my own apps in and change the appearance a little bit. I decompile with apk manager and i get res, smali, and AndroidManifest.xml. I don't get apktool.yml, i dont have a problem with this with a jb 4.3 settings.apk. I try to re-compile after edits but I can't because of the missing yml file. Does settings.apk for 4.4 have dependencies I require? Im running slimkat 4.4 for the SGH-T889. I just began learning and find this new world very intresting. Any help, tips, and advice would be amazing! Thank you for time
Ill start with my story...I want to modify settings.apk and put a few of my own apps in and change the appearance a little bit. I decompile with apk manager and i get res, smali, and AndroidManifest.xml. I don't get apktool.yml, i dont have a problem with this with a jb 4.3 settings.apk. I try to re-compile after edits but I can't because of the missing yml file. Does settings.apk for 4.4 have dependencies I require? Im running slimkat 4.4 for the SGH-T889. I just began learning and find this new world very intresting. Any help, tips, and advice would be amazing! Thank you for time
Click to expand...
Click to collapse
Have you installed framework-res.apk?
Sent from my GT-I9001 Gadget of Mass Destruction with CM11 using XDA Developers App.
hnkotnis said:
Have you installed framework-res.apk?
Sent from my GT-I9001 Gadget of Mass Destruction with CM11 using XDA Developers App.
Click to expand...
Click to collapse
I have place framework-res.apk in C:\Users\Droid\Desktop\APK-Multi-Tool\other folder. I took it out of the framework folder of the un zipped ROM. This seems to work with 4.3 without a problem. I'm stumped haha
TheStart101 said:
I have place framework-res.apk in C:\Users\Droid\Desktop\APK-Multi-Tool\other folder. I took it out of the framework folder of the un zipped ROM. This seems to work with 4.3 without a problem. I'm stumped haha
Click to expand...
Click to collapse
You need to install it before decompiling.
I suggest you to use "Android Multitool" (Do not confuse with APK Multitool).
It has nice GUI insterface.
Try with it.
There is menu to install framework.
hnkotnis said:
You need to install it before decompiling.
I suggest you to use "Android Multitool" (Do not confuse with APK Multitool).
It has nice GUI insterface.
Try with it.
There is menu to install framework.
Click to expand...
Click to collapse
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:244)
at brut.androlib.Androlib.build(Androlib.java:268)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
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
The system cannot find the file specified.
The system cannot find the file specified.
TheStart101 said:
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:244)
at brut.androlib.Androlib.build(Androlib.java:268)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
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
The system cannot find the file specified.
The system cannot find the file specified.
Click to expand...
Click to collapse
See these are why tools like APKMulitool are not that friendly.. My suggestion to you is Google "apktool" find the Google developers site, download it.. Place all files in folder on C:\ and name it apktool..open cmd prompt at that destination..so it would be C:\apktool, then type in cmd prompt:
Code:
apktool if framework-res.apk
this installs the framework..
To decompile apk..place that apk in that folder then type in cmd prompt
Code:
apktool d settings.apk
to recompile..
Code:
apktool b settings
:thumbup:
Sent from my SCH-I605 using xda app-developers app
lacoursiere18 said:
See these are why tools like APKMulitool are not that friendly.. My suggestion to you is Google "apktool" find the Google developers site, download it.. Place all files in folder on C:\ and name it apktool..open cmd prompt at that destination..so it would be C:\apktool, then type in cmd prompt:
Code:
apktool if framework-res.apk
this installs the framework..
To decompile apk..place that apk in that folder then type in cmd prompt
Code:
apktool d settings.apk
to recompile..
Code:
apktool b settings
:thumbup:
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
Sia, I have tried that to my friend. I wonder despite as badly as i wqant to learn if i should just surrender, and go back to useing cheat engine on facebook games :/
TheStart101 said:
Sia, I have tried that to my friend. I wonder despite as badly as i wqant to learn if i should just surrender, and go back to useing cheat engine on facebook games :/
Click to expand...
Click to collapse
Post a screen shot of you installing framework.. What ROM are you decompiling this from?
The problem I think is resulting from framework not installing properly..
Sent from my SCH-I605 using xda app-developers app
I have uploaded framework and setting apk, Maybe one of you can try to decompile it and if it works tell me what kind of environment you have have set up?
TheStart101 said:
I have uploaded framework and setting apk, Maybe one of you can try to decompile it and if it works tell me what kind of environment you have have set up?
Click to expand...
Click to collapse
That won't do you any good lol.. Then how will you recompile BC u won't be able too..just post the screenshot of your framework installing
lacoursiere18 said:
That won't do you any good lol.. Then how will you recompile BC u won't be able too..just post the screenshot of your framework installing
Click to expand...
Click to collapse
Your right, but I'm curious if maybe i messed something up, i am far from dev lol. Any ways it was 1mb over the threshold lol
danm captcha ha
lacoursiere18 said:
That won't do you any good lol.. Then how will you recompile BC u won't be able too..just post the screenshot of your framework installing
Click to expand...
Click to collapse
Your right, but i am very far from dev. I wonder if maybe somethings outdated or wrong although i've been at this for days and nights trying to make a breakthrew, It works for jb 4.3 i just havent tested the recompiled app yet. Anyhow heres your screenshot...
TheStart101 said:
Your right, but i am very far from dev. I wonder if maybe somethings outdated or wrong although i've been at this for days and nights trying to make a breakthrew, It works for jb 4.3 i just havent tested the recompiled app yet. Anyhow heres your screenshot...
Click to expand...
Click to collapse
Thanks..OK its the framework..whatever ROM u got that from is not going to work.. So I suggest using a cm11 framework res or another of your choice.. I have seen this problem on nightly builds..
Sent from my SCH-I605 using xda app-developers app
lacoursiere18 said:
Thanks..OK its the framework..whatever ROM u got that from is not going to work.. So I suggest using a cm11 framework res or another of your choice.. I have seen this problem on nightly builds..
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
Thank you very much, though I'm kind of sad now haha. The slimkat is the best rom I've come across and there is very little I want to mod. Any how looks like I'm off to download CM I appericate the help so much!!! I've been up for two day trying to figure this out lol
TheStart101 said:
Thank you very much, though I'm kind of sad now haha. The slimkat is the best rom I've come across and there is very little I want to mod. Any how looks like I'm off to download CM I appericate the help so much!!! I've been up for two day trying to figure this out lol
Click to expand...
Click to collapse
See that's even funnier.. I ran across this guy that had the same issue as you and it was the same EXACT rom..slimkat.. Don't know what the issue with is.. Maybe he doesn't want you modding his framework lol..I would post in that thread and ask
Sent from my SCH-I605 using xda app-developers app
lacoursiere18 said:
See that's even funnier.. I ran across this guy that had the same issue as you and it was the same EXACT rom..slimkat.. Don't know what the issue with is.. Maybe he doesn't want you modding his framework lol..I would post in that thread and ask
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
I don't know it says it's open source and gives you the link to all the code on github ;o who knows, but for now I want to try again and hope i get somewhere this time Maybe the next rom you install will be one I made Again I thank you very much
Hi there,
sorry for warming up this thread. I don't find the Settings.apk:
C:\Program Files\_Android\SDK\platform-tools>adb devices
List of devices attached
59973133 device
C:\Program Files\_Android\SDK\platform-tools>adb pull /system/app/Settings.apk
remote object '/system/app/Settings.apk' does not exist
So the device (Kyocera KC-S701 unrooted) seems to be connected, but no Settings.apk. Also not when using "adb shell" with "cd system/app" + ls.
A bunch of files but no Settings.apk.
Any ideas?
Hi there,
I have been struggling for long time with decompiling and resompiling LGsettings.apk for my Android L theme. Here is the solution:
LGSettings.apk
Look for /res/layout/dialog_title_secondlines.xml. In the 4. line change
Code:
@*com.lge.internal:style/DialogWindowTitle.Holo.Light
to
Code:
"@com.lge:style/DialogWindowTitle.Holo.Light"
Then look for /res/xml/preference_widget_checkbox.xml. In the second line change:
Code:
"@*com.lge.internal:style/Widget.Holo.Light.CompoundButton.CheckBox'
to
Code:
"@com.lge:style/Widget.Holo.Light.CompoundButton.CheckBox"
Source
Check res/values/arrays.xml if you an find "<" here. If yes replace all with "<". Save and close, try to recompile.
Source.
LGEasySettings.apk
Do the same changes. In this case I did not have "<"-s in the arrays.xml.
Update: unfortunately the Settings app crashes after successful recompiling.
Hit the thanks button if it helped.
Kickoff said:
Code:
"@*com.lge.internal:style/Widget.Holo.Light.CompoundButton.CheckBox'
to
Code:
"@com.lge:style/Widget.Holo.Light.CompoundButton.CheckBox"
.
Click to expand...
Click to collapse
This line has already been changed in V10L
So for the news
I have the wrong references in 10L. The same with the settings apk from your Rom. ?
Just finishing compiling, send testers and I take relationships
Beta9 or RC2 apktool?
Ok, Cloudyfa gave a hint. Just made the changes as described above, recompiled the apk and replaced within the zip the original files that were touched. No crash anymore, it works.
@Kickoff. Which apktool do you recommend using? I'm currently using Beta9
seanskiT! said:
@Kickoff. Which apktool do you recommend using? I'm currently using Beta9
Click to expand...
Click to collapse
I was using RC2, then compiled the tool based on the actual sources. Still waiting for RC3.
Update: unfortunately the Settings app crashes after successful recompiling.
what it mean bro?
Kickoff said:
Ok, Cloudyfa gave a hint. Just made the changes as described above, recompiled the apk and replaced within the zip the original files that were touched. No crash anymore, it works.
Click to expand...
Click to collapse
Which Zip are you reffering to?? After recompiling the apk did you unzip the file then replced it or used the VR theme??
Azharkanorwala said:
Which Zip are you reffering to?? After recompiling the apk did you unzip the file then replced it or used the VR theme??
Click to expand...
Click to collapse
Sorry, within the apk not zip.