Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 directory.

...\apktool>apktool b CP test.apk
I: Using Apktool 2.0.0-RC3 on CP
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Copying raw resources...
I: Building apk file...
I: Copying unknown files/dir...

Am I missing anything ?

like image 294
Dhrubo Avatar asked Mar 18 '15 11:03

Dhrubo


People also ask

What is the latest version of Apktool?

v2.6.1 (Released February 26th, 2022) [#2637] Support automatic workaround for private resources.

What is Apktool in Kali Linux?

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.


1 Answers

The default output directory is dist/name.apk. Thus, in your case the output should be in CP/dist/OP.apk.

You can use the -o,--output <dir> option to specifiy another output path.

Also, the test.apk is redundant and will be ignored.

like image 76
cygery Avatar answered Sep 17 '22 12:09

cygery