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

Cannot find recompiled version of my apk

After typing this command: C:\Users\PC\Desktop\apktool>apktool b MyAPK myapk-new.apk After that i recive this logs I: Using Apktool 2.3.3 I: Checking whether sources has changed... I: Checking whether resources has changed... I: Building apk…
roffensive
  • 564
  • 4
  • 22
1
vote
1 answer

use cmd "java -jar apktool.jar b D:\smali > nul" to get apk

I find the apk's AndroidManifest.xml, platformBuildVersionCode="23" platformBuildVersionName="6.0-2438415" not original platformBuildVersionCode="26" platformBuildVersionName="8.0.0"" What's happen? why apktool can change…
1
vote
1 answer

View SKD files from .apk

I am trying to do reverse engineering of apk, I want to view the SDK and NDK files. I tried multiple ways like apktool and opening apk in android studio, but all without success.Also if i edit the code and rebuild signed apk do i need to run it on…
Rick
  • 373
  • 5
  • 19
1
vote
0 answers

Apktool - app instantly crashes after repackaging

In this instance I used this app: Perfect_Piano_v7.1.3_apkpure.com Apktool version: v2.3.3 IBotPeaches fork https://github.com/iBotPeaches/Apktool/releases/tag/v2.3.3 The original app works fine on my device and emulator, but after I unpack and…
Ben
  • 3,989
  • 9
  • 48
  • 84
1
vote
1 answer

Get config.xml file of Cordova applications using Androguard

Is it possible to get the config.xml file that is generated by Cordova based applications using Adroguard? I cannot find it under the /res folder and it is not listed in the output of get_files() method. apktool, on the other hand, is able to get…
Chips
  • 117
  • 3
  • 10
1
vote
0 answers

How to compile AndroidManifest.xml without aapt

I'm doing some low level research on Android security and wan't to create a certain AndroidManifest.xml with non-standard tags and elements. However, for building/repackaging the APK, I'm using apktool (which in itself uses aapt). Both tools…
1
vote
0 answers

Error when recompiling apk using apktool on mac

I just moved from windows to mac las week and i tried to use apktool on it but when i try to recompile the file i keep receiving this errors Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException:…
1
vote
1 answer

Edit priv-app / SettingsProvider / SettingsProvider.apk

I am new by editing Android ROM. I want to change just one configuration in SettingsProvider.apk. I know how to decompile the apk, the xml file that I need to change and how to compile again. For all this work I use apktool. Also, I learned how to…
Argenis
  • 11
  • 2
1
vote
0 answers

can't install the rebuild app after signed using jarsign

After I got a signed result I tried to install the .apk file, what failed (output) I deployed the .apk file apktool d x.apk then made some chagnes and rebuild the .apk using apktool b x.app I've download root.crt and class3.crt and updated the…
roshik
  • 11
  • 2
1
vote
1 answer

Apktool decompiling/decoding exception

I want to recompile adidas app. When I use Apktool in Windows CLI, the exception is raised: C:\Apktool>apktool d adidasConfirmed.apk I: Using Apktool 2.2.2 on adidasConfirmed.apk I: Loading resource table... Exception in thread "main"…
Igor Savinkin
  • 5,669
  • 8
  • 37
  • 69
1
vote
1 answer

errro while creating apk through apktool d2j-dex2jar

Getting following error while recompiling apktool generated code: d2j-dex2jar b base Error: java.nio.file.NoSuchFileException: b at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) at…
Muhammad Muazzam
  • 2,810
  • 6
  • 33
  • 62
1
vote
1 answer

How can I count method calls inside APK? (using .smali format)

I am trying to develop a tool that basically analyses an Android app APK and counts the number of calls to a specific API method (e.g., android.app.AlarmManager.set()) 1. What approach do you recommend? So far I have used APKTool and now I…
Luis Cruz
  • 393
  • 1
  • 14
1
vote
0 answers

Cannot find activities as shown in AndroidManifest.xml for the Facebook apk file

I downloaded an apk file from http://www.apkmirror.com/apk/facebook-2/facebook/facebook-107-0-0-0-38-release/. I decompiled it using Apktool 2.2.1 which was successful. I looked for the launcher activity in the AndroidManifest.xml file. Here is the…
1
vote
1 answer

Is there a way to only extract resources with apktool?

As I only need resources (xml & images) from an Android app (.apk), I would like to save some processing time on using apktool. Is there any parameter that would allow me to disable generation of the smali files and other stuff?
Ondrej Rafaj
  • 4,342
  • 8
  • 42
  • 65
1
vote
1 answer

Decompiling, modifying and Recompiling android apk

First I used http://www.javadecompilers.com/apk to decompile my apk and I found what I wanted to modify, but I couldn't find an easy way to recompile the apk after the modifications. So I used apktool to decompile my apk because it has a handy build…