从读apk文件的strings.xml文件文件、apk、xml、strings

2023-09-05 06:55:31 作者:床上小旋风

有什么办法,你可以阅读从的apk文件中的的strings.xml 文件? 我在库或类/ code文件只是在的strings.xml

Is there any way you can read the strings.xml file from an apk file? I am not interested in libs or classes/code file just the strings defined in strings.xml

推荐答案

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

Yes you can extract all the Resource files using 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.