恢复从谷歌的apk文件播放 [英] Recover files from apk Google Play
问题描述
我前一段时间上传到谷歌发挥应用程序为我的家庭餐厅是像显示菜单,时间表,prices..all的东西。它仍然在谷歌玩,我有由谷歌开发者访问它,但问题是,我失去了所有的code。
Some time ago i uploaded to google play an app for my family restaurant which was something like showing the menu, timetable, prices..all that stuff. It's still in the google play and i have access to it by google developers but the problem is that i lost all the code.
有没有恢复数据增加一些新的信息,然后更新我的应用程序的方法吗?
Is there any way of recovering the data to add some new info and then update my app?
感谢您了很多。
推荐答案
您需要为这个植根设备:
You'll need a rooted device for this:
安装应用程序到您的设备,然后采取APK使用该设备的关闭:
Install the app to your device, and then take the apk off of the device using:
- 将您的扎根的Android设备插入计算机通过附带的USB电缆。
- 从您的ADB命令行(通常
C:\\ Android的SDK-WINDOWS \\工具\\
)键入亚行外壳
和preSS输入 - 切换到root用户,键入
苏
和preSS输入 - 键入cd数据/应用程序和preSS输入
- 列出所有已安装的APK文件,键入
LS
和preSS输入(找到你要提取的一种) - 在另一个命令窗口,拉到您的计算机中的一个文件通过键入:
ADB拉/data/app/application.apk name.apk
和preSS输入
- Plug your "Rooted" Android device into your computer via the included USB cable.
- From your adb command line (usually
C:\android-sdk-windows\tools\
) typeadb shell
and press enter - Switch to root user, type
su
and press enter - type "cd data/app" and press enter
- List all the installed apk files, type
ls
and press enter (find the one you want to extract) - In another command window, pull one of the files on to your computer by typing:
adb pull /data/app/application.apk name.apk
and press enter
一旦你有了APK,其重命名为 whatever.zip
并提取它作为一个zip文件。现在,您将看到一堆文件夹。任何在你的资产的文件夹,现在可以恢复的时候了。对于Java code,则必须使用 dex2jar 转换 classes.dex
到的.jar
文件。在此之后,您可以使用 JD-GUI 来读取来自该code .jar文件。
Once you have the apk, rename it to whatever.zip
and extract it as a zip file. You will now see a bunch of folders. Anything in your assets folder can be recovered now right away. For the java code, you must use dex2jar to convert classes.dex
to a .jar
file. After that, you can use JD-GUI to read the code from the .jar file.
要提取的AndroidManifest.xml和res文件夹(布局的xml文件,图像等)都必须使用的 APKTool
运行以下命令:
To extract AndroidManifest.xml and everything in res folder(layout xml files, images etc.) you must use APKTool Run the following command :
apktool.bat d sampleApp.apk
这也提取所有.class文件的.smali文件,但这些都难以阅读,你应该从dex2jar改用code。
It also extracts the .smali file of all .class files, but these are difficult to read, and you should use the code from dex2jar instead.
这篇关于恢复从谷歌的apk文件播放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!