Error: Unable to rebuild apk with apktool(2)(sorry)

See original GitHub issue

Information

  1. Apktool Version (apktool -version) - 2.3.1
  2. Operating System (Mac, Linux, Windows) - Linux,Kali
  3. APK From? (Playstore, ROM, Other) - Downloaded from internet.

Stacktrace/Logcat

Include stacktrace here

Using APK template: Whatsappo.apk No platform was selected, choosing Msf::Module::Platform::Android from the payload No Arch selected, selecting Arch: dalvik from the payload [] Creating signing key and keystore… [] Decompiling original APK… [] Decompiling payload APK… [] Locating hook point… [] Adding payload as package com.whatsapp.zumvr [] Loading /tmp/d20180110-6408-1ej4cd4/original/smali/com/whatsapp/AppShell.smali and injecting payload… [] Poisoning the manifest with meterpreter permissions… [] Adding [] Adding [] Adding [] Adding [] Adding [*] Rebuilding Whatsappo.apk with meterpreter injection as /tmp/d20180110-6408-1ej4cd4/output.apk Error: Unable to rebuild apk with apktool

Steps to Reproduce

  1. apktool

Frameworks

If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files (.apks that live in /system/framework or /system/priv-app)

APK

If this APK can be freely shared, please upload/attach a link to it.

It’s the WhatsApp apk I used this time.

Questions to ask before submission

  1. Have you tried apktool d, apktool b without changing anything? I started with msfvenom -x[etc]
  2. If you are trying to install a modified apk, did you resign it? No
  3. Are you using the latest apktool version? Yes, I do.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
AshkanRafieecommented, Sep 28, 2018

here you can solve the problem as i answered this question on stackoverflow: Link To The Answer On Stack OverFlow

0reactions
azamet90commented, Dec 29, 2019

Sorry man, you just aren’t understanding 😦

This tool is crashing, because apktool is not rebuilding. However, this application is not giving me ANYTHING to work with.

 Error: Unable to rebuild apk with apktool

Tells me literally nothing. At all.

Thanks for following the issue template this time, but the outcome is the same. We don’t know why apktool is crashing and this tool is not explaining it. Read a few other open bugs here to get an idea what I’m looking for.

i did check aaaaaaaaaaall the topics started with the same title like this one you always asking one question after you get the answer you stop helping this is not helping this is just talking useless 🗡️ do you want to help us? you see everybody have the same error …

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to rebuild apk with apktool kali linux - Stack Overflow
I got unable to rebuild apk with apktool error when using msfvenom . The problem was that the apk file resists the injection, ......
Read more >
[Discontinued] [Windows] APK Easy Tool v1.60 (2022-06-23)
Go to Framework tab and clear the framework, and decompile the APK again. ... Decompile APK with "Don't decode resources.arsc" checked if you...
Read more >
Error When Recompiling Apk Using Apktool On Mac Stack ...
27/09/2016 This error means Apktool cannot open the Zipfile to read the files it wants ( classes.dex in this case). Try using a...
Read more >
apktool fails to rebuild APK after upgrade to Kali Linux 2018.4
Package: apktool Version: v2.3.4-dirty Severity: important Apologies if this report is not in the correct format; I attempted to use ...
Read more >
iBotPeaches/Apktool - Gitter
Hello everyone, could someone help me with this error? Error: Unable to rebuild apk with apktool. every time i inject a meterpreter it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found