[Q] Help compilling and decompiling error - General Questions and Answers

Hello everybody i tried multi apktool to decompile apks but when i recompile those apps and try to install app on my phone its shows app not installed. Even when i don'T EDIT any file in the app. Please give me simple and best way to edit apk files.
Thanks.!!!

Related

[Q] Issue decompiling apk with apk manager

I have apk manager 5.02 which I can de-compile framework and recompile with out any issues.
I downloaded the stock 2.08 sense 3.5 rom and used explore2fs to extract the contents of the system.img file. From there I then put htcdialer.apk file into apk manager to decompile it and I get the following errors:
See attached log file as it is too big to put into the forum.
Any ideas why the apk file is not decompiling?
I dont hink that apkmanager can correctly decompile sense 3.5 apks, I could be wrong but i could never get them to work properly
If APK Manager and Tool cant extract even GB ROM apks is there a way of extracting and editing xml files? I tried 7zip and I can edit images but XML's do not extract correctly
Really interested to see how to edit XML files if APK Manager and APK Tool cant decode the APK's.
Found out what I was doing wrong!! When decompiling the apk file I wasn't adding the dependancy. So for example when I was decompiling the systemui.apk, I was simply using option 9 to decompile which is not right!
What you need to do is copy the systemui.apk file in to place-apk-here-for-modding
Then find the dependency framework so for example the systemui.apk depends on com.htc.recources.apk. So pull this from your phone on to the desktop and then use option 10 to decompile. It will then prompt you for the dependancy apk file. Drag that on to the command window and press enter and it decompiles! It is easy when you know how
Also when you recompile you will probably get errors...You need to take the newly created classes.dex and drop it into the original apk then push to your phone
Where can I find the dependency file??
I got the same problem when I try to Decompile any system app, like "SystemUI.apk" or "Settings.apk" ...etc
Now I understand from you that I need a dependency file, Where can I get it??
I use Samsung Galaxy SL (I9003), Rooted and Deodxed
i use samsung galaxy mini. can i use apkmanager to decompile any apk for my device......by pressing 9 directly.....? i want to decompile settings.apk....thnx in advance......

[help] cant recompile apk

Hi Im using cm10.1 on my desire s.
I'm using latest apktool. I'm trying to mod in call screen to make more transparent I did found out how to do it thanks to XDA.
but when I recompile it I got error as in screenshot.
I installed framework-res.apk from my rom and decompiled phone.apk
than I edited Phone\res\layout\in_call_screenui.xml that's it.
when I try to recomple it. I get errors in Phone\values\strings.xml which I didn't even edited. I don't get error in every values folder though.
so what am I doing wrong here? can any1 help please?
You may need to install another resource apk, look in your framework folder for one and retrace your steps to make sure you didn't miss anything.

[Guide]Easy recompile decompile for noobs with mobile

Hi guys everyone here getting many problems while recompiling ics + apps so here is solution
u don't require java SDK like PC
Requirements - rooted mobile(any)
Sorry for repost maybe will usefull for thoose who doesnt have any PC but want to mod your young confirm worked on armv6 or galaxy y
Original threads
http://forum.xda-developers.com/showthread.php?t=2388135
[app]apktool.apk[share]
Hey all im here to share a tool its apktool.apk
Im not the creator of this app im just share it here all creddits belongs to the developer of this app and google
Ok how its works?
This tool are similiar with apktool on windows
U can decompile an apk recompile it and u can edit all the resources inside it
How to install?
Download the tool from here
http://code.google.com/p/apktool/
Im suggested u are downloading all arm version
Estract the package and put apktool folder on sdcard/here
And navigate to sdcard/apktool/install apktool.apk
Install and run
NOTE:THIS APP REQUIRED ROOT ACCESS
DISCLAIMER: THIS IS FREE OPEN SOURCES TOOL U CAN USE IT BUT USE WITH YOUR OWN RISK
NOTE2: IF U FACING ANY PROBLEM DUE DECOMPILING PROCESS OR RECOMPILING PROCESS PLEASE INSTALL UR FRAMEWORK U CAN FIND IT ON SDCARD/APKTOOL/FRAMEWORK/HERE CHANGE 1.APK WITH YOUR FRAMEWORK
How to install framework?
gB: copy frameworkres.apk and tw frameworkres.apk to sdcard(any folder but remmember the path)
Open apktool app navigate to framework and tw framework long press on it then choose import as enjoy
Ics/jb
Copy frameworkres.apk and navigate apktool app longpress on it then choose import as
CREDDIT:
DEVELOPER OF THIS APP(i dunno who its him)
Google
Atep sujana
Ogy
Evanlocked
original thread - http://forum.xda-developers.com/showthread.php?t=2408640
i need this,thanks!!!

APK doesn't install even I did no modification to it

Hi masters,
I wanted to modify an android game named Injsutice gods among us. I used ApkEasyTool to decompile the APK and I didn't modify anything. After decompilation I recompiled the APK without doing any changes to its source. After successfully recompilation I installed the APK in android. The error I get while installing the app is "App is not installed". Can you tell me how to recompile the android app in a proper way and what are the steps to make it run successfully? The application is built for arm64-v8a architecture.
Thank you sir.
Use the original APK file.
jwoegerbauer said:
Use the original APK file.
Click to expand...
Click to collapse
Please read the post again. I am trying to modify the application. I would install modified application. But I got an issue while installing the application which is recompiled from apkeasytool.
I was referring to the title of the thread ...

Gboard size

Hello,
I find the google keyboard size too small , is there anyway to increase its size beyond the highest setting without root? via ADB perhaps?
Thank you
j1978 said:
Hello,
I find the google keyboard size too small , is there anyway to increase its size beyond the highest setting without root? via ADB perhaps?
Thank you
Click to expand...
Click to collapse
You can use Apktool to unsign and decompile your Gboard apk file then edit the size parameters then recompile and re-sign the apk file then install your newly modified apk.
Droidriven said:
You can use Apktool to unsign and decompile your Gboard apk file then edit the size parameters then recompile and re-sign the apk file then install your newly modified apk.
Click to expand...
Click to collapse
Hello,
Thank you for the reply. I have downloaded APKtool and the Gboard APK file.
Could you by any chance point me to a guide on how to do this?
Thank you very much
j1978 said:
Hello,
Thank you for the reply. I have downloaded APKtool and the Gboard APK file.
Could you by any chance point me to a guide on how to do this?
Thank you very much
Click to expand...
Click to collapse
Apktool for PC, not the APKtool app for android.
Open APKtool, select your apk file, find the option to un-sign the apk by removing its signature, then fimd the option to decompile/extract the apk file inside Apktool.
Then you are looking for the lines of code that set the parameters for the size of the keyboard. I don't have a clue which lines of code you're looking for or what to edit, you'll have to figure that out for yourself. I'm just giving you a general overview of what you need to do, you'll have to do some research on your own to understand each step I've described and which lines/values to edit.
After you've edited the parameters for its size, recompile the apk and re-sign the apk then install your new app.
You'll have to use trial and error until you figure it out and get it edited/installed correctly.
Droidriven said:
Apktool for PC, not the APKtool app for android.
Open APKtool, select your apk file, find the option to un-sign the apk by removing its signature, then fimd the option to decompile/extract the apk file inside Apktool.
Then you are looking for the lines of code that set the parameters for the size of the keyboard. I don't have a clue which lines of code you're looking for or what to edit, you'll have to figure that out for yourself. I'm just giving you a general overview of what you need to do, you'll have to do some research on your own to understand each step I've described and which lines/values to edit.
After you've edited the parameters for its size, recompile the apk and re-sign the apk then install your new app.
You'll have to use trail and error until you figure it out and get it edited/installed correctly.
Click to expand...
Click to collapse
Ok! thank you very much for all the info i will give it a try.

Categories

Resources