How to recompile a decompiled apk? - Android Q&A, Help & Troubleshooting

I decompiled apk from this site:
http://www.javadecompilers.com/
Apparently this site decompiled using JADX but now how to recompile it? I got no ideas please help me.

Related

howto de/compile systemui.apk without any error

Hello,
I wanted to de/compile the systemui.apk and got errors.
I installed framework-res.apk with apktool.
After installation I used apktool (Win7) and decompiled the systemui.apk.
But I got the same errors as many others have gotten them.
brut.blahblahblah..
So I tried other apktool.jar (apktoolICS.jar) and it worked fine!
I opened the new systemui folder and there are the following folders:
res and assets
no smali folder. is it right and normal?
Because the compiling with old apktool (not apktoolICS) didn't work, I compiled with the ICS file and it worked. I got the translation message (airplane_mode).. Not interesting for me atm.
When I look at the new built systemui.apk, I wondered about the file size.
The new file: 1.009kb
The old file: 1.338kb
I signed the new file. Now the file size is 1.044kb.
I edited only a xml file (styles.xml)..
The file didn't work on the sgs2..
Could someone tell me what I did wrong?
Please help me
Best regards
Marcus
*push* after moving to correct section
maybe no need to sign your new file,
try to drag the META-INF folder and the AndroidManifest.xml from the older file to the new file you build
BTW, is your old systemui file a deodex one?
if no deodex, the smali code wil include in the odex file~

[Q] Get asset from apk for learning purpose only!

I wan't to get the asset located in assets folder in apk file. I guess it was the file "game.droid". But how to open it. I've tried to decompile the classes.dex to view the source code but couldn't figure out what happen Please help me. I love the style of this game. I just use it for learning purpose only. :victory:
Sorry here is link of apk: http://www.mediafire.com/download/zxy2z5t69tzolg3/hero_siege.apk
Please help me

[DEV][REQ]Decompile systemui.apk

Hello, i would like to modify this systemui.apk but everytime i decompile and then recompile the apk it is no longer functional and is of a smaller size.For example, i decompiled and recompiled the apk without any modifications and then signed it but the file was 2.25mb instead of 2.53mb and didn't function
so can you please decompile the apk and recompile the apk, if it is about 2.5mb please upload the decompiled folder
I have uploaded the systemui.apk nd framework-res.apk
thank you

[REQUEST] Can someone Decompile and Recompile this SystemUI.apk please?

This SystemUI.apk is from AICP for the Moto G Titan XT1068.
I tried doing it myself but I could not recompile it as I got many errors.
What needs to be done is:
Decompile APK.
Change the following in : Res\Values\dimens.xml
<dimen name="recents_task_view_rounded_corners_radius">8.0dip</dimen>
to
<dimen name="recents_task_view_rounded_corners_radius">2.0dip</dimen>
Recompile so that I can replace with my SystemUI.apk
Can someone please do this if it does not cause any trouble?!
It was my first try doing all this, someone with some experience shall have no trouble.
Thanks in Advanced.
Instead of asking someone to do it for you why not try to fix the errors your self.

Can't edit systemui.apk in Alcatel flash6042d

Hi I was trying to decompile and edit xmls in systemui.apk but after decompiling the folder does not have "res" folder contains the xmls so I searched around and found out that the xmls were in systemui-res.apk present in custpack/jrd_custres/apk so I tried to decompile it after trials and errors I decompiled KT and edited the xmls but then while recompiling I get error messages like android manifest not present though they weren't from the start.
So please can anybody help me with this I wanted to remove the transparent codes in status bar_expanded .
Plzzz help

Categories

Resources