Extracting Android .apk and reading contents of XML file in res/layout

后端 未结 5 1701
一整个雨季
一整个雨季 2020-12-08 07:02

I am trying to reverse engineer an existing android app and understand how a particular UI is constructed. I\'ve found that I can rename the apk to zip and view some of the

5条回答
  •  春和景丽
    2020-12-08 07:50

    First covert your .apk to .zip. Inside that you will get a compiled-bundled version of java class files called .dex. apply the below trick to convert that dex to class files

    There's a way to do this. A slight atypical way is to download this opensource tool dextojar http://code.google.com/p/dex2jar/

    This will convert your dex files to Jar file. Unjar these files to get java class files.

    Then reverse engineer the java class files to get the java code. Don't use it to break some commercial projects.

    Thanks

提交回复
热议问题