从apk文件读取字符串.xml文件

2022-09-02 02:34:06

有没有办法从 中读取文件?
我对libs或类/代码文件不感兴趣,只对中定义的字符串感兴趣strings.xmlapk filestrings.xml


答案 1

是的,您可以使用apktool提取所有资源文件

步骤 -

1.) Download files from above links and extract them in a folder.
2.) Open cmd -> run 
3.) Run command as 
    apktool.bat d source.apk destination_path

1.) Put apktool.jar and test.apk in same folder 
2.) Go to the jar and .apk path by command line
3.) And fire the command java -jar apktool.jar d test.apk
4.) It will generate a folder with the name "test" in the same folder.

答案 2

下载android-apktool(如果需要,也可以下载依赖项),在同一目录中提取所有内容并运行apktool d application.apk


推荐