hello i am a newbie on android development and i am just trying to decompile an apk file.i have done it all correct using apk tool and when i am trying to decompile the apk file via command prompt it doesn't dissapear the folder with the name of apk which encluding the resource files.any ideas???
Dont show log, so i could not help.
But when you compile it, selected signed or unsigned apk. For debug, unsigned apk is okay. With signed apk, searching for how to make progruard-rules, how to config it. Then everything will work.
Related
I'm having trouble trying to recompile my XML edits, when I compile my APK by APK Manager, it doesn't compile the XML into a binary. Whereas its unreadable to humans, is there a tool I'm missing to try and compile the XML?
Chinam4n said:
I'm having trouble trying to recompile my XML edits, when I compile my APK by APK Manager, it doesn't compile the XML into a binary. Whereas its unreadable to humans, is there a tool I'm missing to try and compile the XML?
Click to expand...
Click to collapse
I would suggest:
- go to apk manager thread
- describe you prob
- name "what" u decompile/compile
- attach a logcat
Hi,
I use apktool and have a problem.
I sucessful decompile apk and get direcrory with app name.
When compile this directory (without change) I get apk file.
But apk file cannot install on phone!
What I do wrong?
I just decompile and compile without change and apk cannot install...
Help..
atlantisu21 said:
Hi,
I use apktool and have a problem.
I sucessful decompile apk and get direcrory with app name.
When compile this directory (without change) I get apk file.
But apk file cannot install on phone!
What I do wrong?
I just decompile and compile without change and apk cannot install...
Help..
Click to expand...
Click to collapse
What apk is it?
Some .apk's just will not install. I had an apk that compiled 1MB smaller, without change. Its not a perfect system.
Name is not important, but original file size is 1,376 MB
and compiled file size now is 1,372 MB
Where is 4KB?
Well I only asked the name incase it was one I myself had issues with or someone else had.
Now I just think you're doing something suspicious by answering.like that
4KB not as bad as 1MB. But you're still losing size which will be why it won't install.
Can't help any more than that I'm afraid. Except to say I have seen the issue before and never resolved it
Sent from my HTC Desire using Tapatalk
Suspicious
I tried more apk without sucess..beacause I dont tell a name.
Actual apk is BeoGSP-6.apk and there I lost 18KB...
I dont understand this compiler!?
Is there any another compiler with more working chance?
Can I export resource to Eclipse and make apk from here?
There is also APK manager. its pretty similar as far as I can tell.
There's APK Manager or APK Multi Tool which I use and both do the job quite well. I need APK Multi to decompile ICS or newer APK's and I use APK Manager 4.9 to decompile the APK's from the oxygen ROM.
If it decompiles and recompiles without errors then the only thing you might need to do is sign the APK. It won't install if it's a non-system APK and you haven't signed it.
APK Manager 4.9 option 16 signs the APK's so I just use that and if there're no errors it will sign and install fine.
Thanx! Works with APK Manager. This is a great thing!
I signed apk and now work
May be this not a right place to ask, but I have this problem with recompiling an apk with apkmanager.
I'm trying to mod settings.apk and had done few modding in strings.xml. Since I have edited an xml I delete the resources.arsc file from the keep folder and also sign it after recombiling. But when I install the apk in my phone it never opens and force closes.
I've tried again by not deleting that file but that time no modifications where shown, And the next time, I didn't sign it and tried again to install the unsigned apk. But that too fails.
Anyone know why this happn?
Before modifying the APKManager, make sure the framework-res.apk and twframework.apk been set, and don't forget to delete the file resource.arsc and the file you have modified, then enter at apkmanager windows, don't forget to rename Unsigned to system file that you modified
So ive been trying to modify the framework-res.apk and i can decompile it but just cant recompile it, Even if i just decompile with no edits then re-compile it errors out with APKTool or XdaAutotool or apk multi tool. Anyone have an luck????
supercobaltss said:
So ive been trying to modify the framework-res.apk and i can decompile it but just cant recompile it, Even if i just decompile with no edits then re-compile it errors out with APKTool or XdaAutotool or apk multi tool. Anyone have an luck????
Click to expand...
Click to collapse
Are you using the S5 framework and twframework-res? Or perhaps you have an out of date decompiler. Did you copy META-INF and AndroidManifest.xml from your the old apk to the recompiled apk? It's hard to guess at the problem since you didn't give us crucial details on what tool versions and steps you used or exact error messages you saw. There are a number of threads on the subject, so do a search to see what is working for others.
I decompiled the YD_YotaphoneSDK.apk app and changed some of the settings in the classes.dex files so as to disable the full screen refresh (i.e change the backscreenmanager waveform mode to A2). I then recompiled the YD_YotaphoneSDK.apk app however when I attempt to install it on my YotaPhone it states 'Parse Error- There was a problem while parsing the package'.
Im pretty sure it needs to be resigned but cannot workout how, when i attempt to do so in android studio i get the following error: Error:Android Source Generator: [YD_YotaphoneSDK] Package is not specified in AndroidManifest.xml
Can anybody with some relevant experience give my some suggestions of how I can resign or enable this recompiled version of the APK to be installed on my yotaphone.
I have attached the edited apk file
Regards