Cass

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

1.

Download JDK

jdk-8u121-windows-x64.exe

2.Install it

3.Then Check Version

C:\Windows\system32>java -version

java version "1.8.0_121"

Java(TM) SE Runtime Environment (build 1.8.0_121-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

if you get Java Is Not Recognized As An Internal Or External Command

4.SET PATH
5.Then Check Version

C:\Windows\system32>java -version

java version "1.8.0_121"

Java(TM) SE Runtime Environment (build 1.8.0_121-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

6.Now rename the example.apk to example.APK.zip and extract it to a new folder

C:\Windows\system32>cd C:

C:\Users>cd abdulkyum

C:\Users\abdulkyum>cd Desktop

C:\Users\abdulkyum\Desktop>cd "New folder"

7.download dex2jar and

copy classes.dex to dex2jar folder


C:\Users\abdulkyum\Desktop\New folder>cd dex2jar-0.0.9.15

C:\Users\abdulkyum\Desktop\New folder\dex2jar-0.0.9.15>dex2jar classes.dex

this cmd is deprecated, use the d2j-dex2jar if possible

dex2jar version: translator-0.0.9.15

dex2jar classes.dex -> classes_dex2jar.jar

Done.

C:\Users\abdulkyum\Desktop\New folder\dex2jar-0.0.9.15>cd .

C:\Users\abdulkyum\Desktop\New folder\dex2jar-0.0.9.15>

C:\Users\abdulkyum\Desktop\New folder\dex2jar-0.0.9.15>cd ..

C:\Users\abdulkyum\Desktop\New folder>cd apktool1.5.2

C:\Users\abdulkyum\Desktop\New folder\apktool1.5.2>apktool d "Amaze TV.apk"

'apktool' is not recognized as an internal or external command,

operable program or batch file.

C:\Users\abdulkyum\Desktop\New folder\apktool1.5.2>apktool d "Amaze TV.apk"

I: Baksmaling...

I: Loading resource table...

Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars

c file

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes

ources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav

a:74)

at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav

a:66)

at brut.androlib.Androlib.getResTable(Androlib.java:50)

at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)

at brut.apktool.Main.cmdDecode(Main.java:146)

at brut.apktool.Main.main(Main.java:77)

Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000

at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)

at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10

2)

at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)

... 8 more

download latest apktool and rename it as apktool.jar

C:\Users\abdulkyum\Desktop\New folder\apktool1.5.2>apktool d "Amaze TV.apk"

Error: Unable to access jarfile C:\Users\abdulkyum\Desktop\New folder\apktool1.5

.2\\apktool.jar

C:\Users\abdulkyum\Desktop\New folder\apktool1.5.2>apktool d "Amaze TV.apk"

Error: Unable to access jarfile C:\Users\abdulkyum\Desktop\New folder\apktool1.5

.2\\apktool.jar
C:\Users\abdulkyum\Desktop\New folder\apktool1.5.2>java -jar apktool_2.2.2.jar

Apktool v2.2.2 - a tool for reengineering Android apk files

with smali v2.1.3 and baksmali v2.1.3

Copyright 2014 Ryszard Wi?niewski <[email protected]>

Updated by Connor Tumbleson <[email protected]>

usage: apktool

-advance,--advanced prints advance information.

-version,--version prints the version then exits

usage: apktool if|install-framework [options] <framework.apk>

-p,--frame-path <dir> Stores framework files into <dir>.

-t,--tag <tag> Tag frameworks using <tag>.

usage: apktool d[ecode] [options] <file_apk>

-f,--force Force delete destination directory.

-o,--output <dir> The name of folder that gets written. Default is apk.ou

-p,--frame-path <dir> Uses framework files located in <dir>.

-r,--no-res Do not decode resources.

-s,--no-src Do not decode sources.

-t,--frame-tag <tag> Uses framework files tagged by <tag>.

usage: apktool b[uild] [options] <app_path>

-f,--force-all Skip changes detection and build all files.

-o,--output <dir> The name of apk that gets written. Default is dist/name

.apk

-p,--frame-path <dir> Uses framework files located in <dir>.


For additional info, see: http://ibotpeaches.github.io/Apktool/

For smali/baksmali info, see: https://github.com/JesusFreke/smali

C:\Users\abdulkyum\Desktop\New folder\apktool1.5.2>apktool d "AMAZE TV.apk"

Error: Unable to access jarfile C:\Users\abdulkyum\Desktop\New folder\apktool1.5

.2\\apktool.jar

C:\Users\abdulkyum\Desktop\New folder\apktool1.5.2>apktool d "AMAZE TV.apk"

I: Using Apktool 2.2.2 on AMAZE TV.apk

I: Loading resource table...

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\abdulkyum\AppData\Local\apktool\fr

amework\1.apk

I: Regular manifest package...

I: Decoding file-resources...

I: Decoding values */* XMLs...

I: Baksmaling classes.dex...

I: Copying assets and libs...

I: Copying unknown files...

I: Copying original files...

C:\Users\abdulkyum\Desktop\New folder\apktool1.5.2>

You might also like