Android - Phonegap, Extract code from apk

I am new to Phonegap development. I developed the application and unfortunately lost all the code. But, fortunately, I have an apk file. Can someone help me extract my code from apk file (PhoneGap - Andriod) Thanks in advance.

-Vinu

+5
source share
3 answers

Yes, you can. If you copy your .apk file so that it has a .zip extension, you can unzip it like any regular zip archive. From there, you can get your help and res folders, as well as your AndroidManifest.xml.

If you have written extensive Java code, you will need to decompile the classes.dex file back into Java. Here is a good SO question that covers it:

decompile DEX into Java source code

+7
source

: http://www.decompileandroid.com/ apktool dex2jar, .apk .

+4

- apk, .

;), , apk , , Apktool, :

  • Apktool (, node.js)
  • apktool open node.js
  • , apk ( node.js)
  • node.js: apktool d yourApk.apk
  • : apktool b yourProjectFolder

, , , , !

+2

All Articles