[Q] an interesting Apktool error - General Questions and Answers

hi. I use apktool to decompile an apk but when i try i take errors. for example i can decompile framework-res and twframework-res on the other side i cannot decompile settings.apk, systemui.apk etc. this why?

I see this is your first post so maybe you haven't seen this thread
http://forum.xda-developers.com/showthread.php?t=1755243
Sent from my M886 using Tapatalk 2

Related

[SOLVED] Compiling SystemUI from ICS

So I'm using the new ICS framework-res.apk and SystemUI.apk from this ICS ROM. I am using this version of apktool.jar to decompile
Now, I can decompile the SystemUI.apk and framework-res.apk without any errors. However, I am unable to compile, even if I didn't mod anyting
My error log is attached
If anyone could shed some light on what I would need to do to get past these errors I would greatly appreciate it
Just so there's no confusion, I'm using apktool by Brut.alll, not APK Manager. I have a W7 laptop
***This is solved, check out my thread here (post #3)***
http://forum.xda-developers.com/showthread.php?t=1365810
I too feel the same
i have same problem when recompile it ...even without change anything , still shows error when recompile
Hey guys I'll mark this thread as solved
Check out the third post here on how to set up apktool for ICS
http://forum.xda-developers.com/showthread.php?t=1365810
Sent from my Nexus S 4G using Tapatalk
THX !!! work perfectly!!

[Q] APK Tool

For the life of me I can not recompile my systemUI.apk using the APK Tool
I decompiled it using:
java -jar apktool.jar b systemui.apk ./systemui
I get a few errors which I think should be ok if I could just Force the compile.
But the F orce doesn't seem to work. Any suggestions???
Here's the command line that I'm using.
java -jar apktool.jar b -f systemui/ newsystemui.apk
Any suggestions???
You have to install framework from framework-res.apk first with apktool....then you have to recompile systemUI.apk with dependencies ....the systemUI.apk uses the framework u installed as its base to decompile and recompile...
Sent from my SAMSUNG-SGH-I997 using xda premium
Edit..decompile systemUI with dependencies ...
Sent from my SAMSUNG-SGH-I997 using xda premium
Thanks, got it.
Cranky...
MitRa

Decompile & Compile apk

I use apktool for decompile and recompiling but howcome I can not recompile SecSettings.apk on JB 4.1.2 any new thing should be done? help please.

smali help

hello everyone
i searched a lot but couldnt find anything so postiong here
i was trying to add some featues to home.apk and i got some errors while recompiling
so i tried decompile and recompile without editing anything...i didnt even open the decompiled home apk folder LOL
but i am getting lots of smali errors only in styles.xml
i think that apktool removes some templates from styles.xml i dont know what it means i just got it from my search
so can someone help me in fixing that error....
@serajr
 @SpaceCaker
 @marcussmith2626
 @iSiddharth
Either wrong framework loaded or using wrong apktool version
And please stop abusing the mention system - I won't reply to anymore mentions
marcussmith2626 said:
Either wrong framework loaded or using wrong apktool version
And please stop abusing the mention system - I won't reply to anymore mentions
Click to expand...
Click to collapse
Ah sorry
But what do u mean by WRONG apktool version??
abhishekr700 said:
Ah sorry
But what do u mean by WRONG apktool version??
Click to expand...
Click to collapse
use
gingerbread/ics/jb 1.5.2
https://code.google.com/p/android-apktool/downloads/list
jb/kitkat/lolipop apktool rc3
https://bitbucket.org/iBotPeaches/apktool/downloads
use correct framework-res
plus any other framework eg tw-framework
Use Advanced APK Tools for decompiling the APK files and you can also use the Attached Dex Editor to edit classes.dex files.....
Advanced APK tools is specially made for Xperia devicex. (use your "framework-res.apk" to install firmware in Advanced APK Tools)
(Drag and drop classes.dex in "Quick-Baksmali.cmd" to decompile and drag and drop the output folder is "Quick-Smali.cmd" to recompile.
Advanced APK Tools : http://forum.xda-developers.com/showthread.php?t=2639400

SystemUi_framework for devs

HERE IS THE SYSTEMUI.APK AND FRAMEWORK-RES.APK FOR DEVS TO ADD MODS.
CAN BE DECOMPILED AND COMPILED WITH APKTOOL WITHOUT ERRORS.
I AM USING BATCH APKTOOL.
https://androidfilehost.com/?fid=674106145207486704

Categories

Resources