How to read Android manifest.xml file Using ASP.NET

The .XML files of an Android APK file can be read from a tool named android-apktool.

Install instructions of android-apktool

  1. Download Windows wrapper script (Right click and Save Link As apktool.bat
    )
  2. Download apktool-2 (find newest here)
  3. Rename downloaded jar to apktool.jar
  4. Move both files (apktool.jar, apktool.bat) to your Windows directory (Usually C://Windows)
  5. Try running apktool via command prompt using apktool d onetouch_face_auth.apk && cat onetouch_face_auth/AndroidManifest.xml:
E:\Sample File\Android> apktool d onetouch_face_auth.apk && cat onetouch_face_auth/AndroidManifest.xml

I: Using Apktool 2.2.2 on onetouch_face_auth.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\LIN SIYIN\AppData\Local\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...

E:\Sample File\Android>
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容