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
3
votes
1 answer

Decompile apk, problems lambda

Im Decompiled apk, respectively, appeared .java files, But some files have in the name of such "AudioPlayerActivity$$Lambda$1.java", what is this "$$Lambda$1"??
Big_Energy
  • 43
  • 3
3
votes
1 answer

apktool cannot recompile the apk after (decode and then build)

I am trying to extract the apk and then recompile with the use of apktool, however it show the error like below. What do these errors mean? How to solve it? Ref to this(http://ibotpeaches.github.io/Apktool/documentation/) I just simply use apktool…
Question-er XDD
  • 640
  • 3
  • 12
  • 27
3
votes
0 answers

Protect apps from decompiling

Is there any way to not let the app open in 7zip/ any other file archiver and also I would like to restrict the app from decompiling using apktool. To summarize: 1. Code which does not let you decompile the apk 2.code which does not let your apk…
Vivek_Neel
  • 1,343
  • 1
  • 14
  • 25
3
votes
1 answer

unable to decode XML files from APK?

I am trying to decode a APK file, here I have successfully decoded java/Class files But I need AndroidManifest and Layout.XML files when I tried with ApkTool its working for all other APK. Except My APK which I need to Decode... I am getting all…
Don't Be negative
  • 1,215
  • 3
  • 19
  • 46
3
votes
1 answer

Editing smali. Issue : Low 16 bits must be zeroed out. Is the hexadecimal id is wrong?

Good morning/afternoon/evening, I am quiet a newbie in smali language and, while compiling, there is an issue I can't solve. I hope this question has not been asked before, but I checked out Google and some threads on stackoverflow and couldn't find…
MisterX
  • 49
  • 3
  • 9
3
votes
1 answer

How to Decompiling Apk files that Generated By Android Studio

I have lost my android studio project completely and there is no way to get it back. Now, I'm trying to decompile my apk file to access my java classes and xml files. using dex2jar and jd-gui, I get my java classes BUT non of programs that I…
Saeed Arianmanesh
  • 1,269
  • 2
  • 22
  • 33
2
votes
1 answer

Is there a way to decompile multiple android apk at the same time?

I'm currently doing project that needs .smali file from android app. In order to get .smali file i have to decompile android app. Thus, someone recommends me to use apktool. Unfortunately, apktool only can decompile an android app at one time. I…
azizahn
  • 45
  • 9
2
votes
1 answer

Two questions regarding peculiar smali classes reversed from an apk using apktool

I asked this question on smali github, but this might be a way better place to ask it again. I have observed two cases of weird code decompilation which I wanted to ask about. The code is decompiled apk using apktool 2.4.1 on Windows 10 and both…
Andrej Mohar
  • 966
  • 8
  • 20
2
votes
1 answer

The apk rebuild by apktool can not be installed even after zipalign and sign

I need to make hundreds flavors of my app. They have different logos and names. When I use android studio's productFlavor, it always OOM, and cost very long time to build hundreds app. So I want to make these apps by apktool. decompile, rebuild,…
boybeak
  • 417
  • 5
  • 19
2
votes
1 answer

invalid file path while trying to rebuild with apktool and aapt2

I am facing an error while try to repack an apk with apkool. below is the error trace. W: error: invalid file path 'C:\Users\ccre\res\drawable2\abc_ic_search_api_material.xml'. W: error: invalid file path…
hanan
  • 532
  • 2
  • 7
  • 23
2
votes
1 answer

How can I find library versions of an Android application?

I'm pretty new on Android and I'm trying to understand the file system. I downloaded the apk file of an Android application and decoded it with apktool. Where is an android application listed versions of libraries? What's the easy way to find…
Nozoom
  • 41
  • 5
2
votes
0 answers

How does WhatsApp, Viber and other popular apps secure their server access credentials?

Recently I am working on an Android app that communicates with the API server. So to prevent server access from outside, and only allow access from app I hard coded access keys inside the APK. For experiment purpose I reverse engineer my app and…
Stack Overflow
  • 1
  • 5
  • 23
  • 51
2
votes
1 answer

Compiled APK file contains a lot of unknown (A)XML layouts

When I unzip the apk file, in the res\layout folder I found the following unknown xml…
Ωmega
  • 42,614
  • 34
  • 134
  • 203
2
votes
1 answer

rebuilding .apk decompiled with javadecompilers.com

I am trying to patch one .apk and I've found that you can do it using apktool d your.apk then patch smali files apktool b com.your.package patched.apk and finally jarsign it with debug key The problem is that smali files are hard to read I found…
2
votes
1 answer

Crashlytics with APKTool on build server

I´ve setup crashlytics for android using the suggested gradle method and while running in android studio things work fine. I get crash reports, statistics and everything just as expected (and looking great btw!). The problem is when I want to use…
1 2
3
18 19