提取安卓apk文件和读取XML文件内容在RES /布局 [英] Extracting Android .apk and reading contents of XML file in res/layout

查看:739
本文介绍了提取安卓apk文件和读取XML文件内容在RES /布局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图扭转工程师现有的Andr​​oid应用程序,并了解一个特定的用户界面构造。我发现我可以重命名APK,以压缩和查看一些编译源。该RES /布局目录包含所有定义UI的XML文件,但是当他们这样做有XML扩展,它们不是以XML格式。反正是有这些文件转换回基于文本的标记?

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 compiled source. The res/layout directory is populated with all the xml files that define the UI, but while they do have the xml extension, they are not in XML format. Is there anyway to convert these files back to text based markup?

推荐答案

我想你可以使用 android- apktool 。该XML文件看起来非常好。

I think you can use android-apktool. The XML files look very well.

这篇关于提取安卓apk文件和读取XML文件内容在RES /布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆