有什么方法可以从 apk 文件
中读取 strings.xml
文件吗?
我对库或类/代码文件不感兴趣,只对 strings.xml
最佳答案
是的,您可以使用 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.
关于java - 从 apk 文件中读取 Strings.xml 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11591044/