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/

256 questions
24
votes
3 answers

APK injection, recompiling android manifest

What I'd like to achieve Decompile AndroidManifest.xml packaged in apk from binary form into normal xml file, edit it and recompile it back into binary file acceptable for apk. Basically I need a driver for AXML files Short background I'm working on…
Ben
  • 3,051
  • 5
  • 38
  • 70
20
votes
5 answers

APKtools (APK Studio) Could not decode arsc file

I am tring to decompile an APK with AKP-Studio (it uses Apktool 2.0.0-Beta9) but on every APK I get this error: May 05, 2015 5:38:30 PM brut.androlib.ApkDecoder decode INFO: Using Apktool 2.0.0-Beta9 on com.****-1.apk May 05, 2015 5:38:30 PM…
MscEliot
  • 541
  • 1
  • 4
  • 11
17
votes
2 answers

Convert .Java file to .Smali file

I reverse engineered an Android application with APKTool and got .Smali files as source code output. I converted the .Smali files with an application to .Java files. I was able to succesfully edit the .Java files but now I want to convert them back…
user3830316
12
votes
1 answer

Decompiling apk using apktool

I need to decompile & recompile an apk on windows... I am following this link Reverse Engineer APK The issue is I can't find the file that makes requests (refer to above link)"Find the file that makes requests grep -r "RequestUtil.java" " I tried…
sumit_programmer
  • 3,309
  • 1
  • 22
  • 35
11
votes
2 answers

How to decompile an android app from the google play store

I want to decompile one android app that is available on google play store. Can anybody suggest to me an online tool or any apktool that will help me to decompile source code of apk? Thanks in advance.
Sushant Patekar
  • 331
  • 1
  • 4
  • 17
10
votes
1 answer

apktool is not generating apk file

I used apktool 2.0.0 rc4 version and unpackaged CP.apk file using the tool, then modified a file and trying to re-package it using " apktool b CP test.apk " command and output goes as below , however there is no test.apk in working…
Dhrubo
  • 634
  • 11
  • 29
8
votes
2 answers

Differences between apktool and baksmali

As far as I know, both apktool and baksmali are able to produce smali code out of .apk (.dex) files, and apktool makes use of the dexlib2. They are both APK packing/unpacking tools But still I am not clear what are the main differences between…
Long
  • 657
  • 11
  • 22
8
votes
3 answers

What's platformBuildVersionCode and platformBuildVersionName in Extracted Apk's

Extracted an Apk using APKTool getting the manifest.xml like this,
Mujammil Ahamed
  • 1,306
  • 4
  • 22
  • 46
8
votes
1 answer

Exception while decompiling apk

I am trying to make a secured android app. I've enabled proguard in my app. But it doesnt hide any of the xml files or manifest while decompiling. It only changes the .java files. I tried to decompile apk of another app from play store using…
Deepzz
  • 4,489
  • 1
  • 26
  • 52
6
votes
1 answer

Use apktool jar file in my android project?

Put in the .apk file which you want to decode Download the latest version of apktool AND apktool install window (both can be downloaded from the same link) and place them in the same folder Now run a command like apktool if framework-res.apk and…
user9147798
6
votes
1 answer

apktool error while decompiling .apk

I got this error while I was decompiling an .apk by apktool. Although It doesn't appear for all apk files. Also I had installed these three frameworks: framework-res.apk SystemUI.apk twframework-res.apk I tried two different versions of…
ShayanKM
  • 461
  • 5
  • 13
5
votes
2 answers

Error: No resource identifier found for attribute `requestLegacyExternalStorage` and `preserveLegacyExternalStorage` in package `android`

I have decompiled APK using apktool d demoapp.apk then compiling apk using apktool b demoapp.apk but at compile time it throws the error brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): Here No resource…
Sameer Jani
  • 976
  • 6
  • 14
5
votes
1 answer

Why is this an invalid smali register?

I injected this piece of code invoke-static {p0}, Lcom/outfit7/talkingtomcandyrun/Toast;->show(Landroid/content/Context;)V in a decompiled app. Like this: .line 70 move-object/from16 v0, p0 iget-object v0, v0,…
dugof
  • 53
  • 5
5
votes
2 answers

How to install apktool on Win 10?

I have downloaded both apktool_2.1.1.jar & apktool_2.0.0rc4.jar from https://bitbucket.org/iBotPeaches/apktool/downloads and pasted it in C://Windows. Yet when I run apktool in cmd, it returns: C:\Users\arpit>apktool 'apktool' is not recognized…
Arpit
  • 65
  • 1
  • 1
  • 6
5
votes
1 answer

Why apktool is not decoding versionCode and versionName?

I'm using apktool using the following command apktool decode "[APK PATH]" For some reason the decoded androidmanifest.xml doesn't contain attributes versionCode and versionName. I know they are there on the original file since, if I open the…
StackOverflower
  • 4,505
  • 11
  • 47
  • 84
1
2 3
17 18