如何从我的设备中使用Eclipse检索我的应用程序的沙箱? [英] How to retrieve the sandbox of my app using Eclipse from my device?
问题描述
我使用Eclipse在Android设备上运行该应用程序
我想将整个沙箱从设备拉到桌面,以便我可以手动查看sharedPreferences的内容。 p>
我点击了 DDMS ,然后点击 FileExplorer ,看到数据文件夹,但是它的空。
任何帮助不胜感激!
感谢提前!
如果设备根植可能是可能的。
但是一般来说,您无法从您的设备检索您的应用程序的沙箱到pc。
但是,您可以实现您的目标,即获取您的应用程序通过在 Android虚拟设备(AVD)上运行应用程序。一旦应用程序安装在AVD中。
切换到 DDMS透视图
下面是一个示例DDMS屏幕
在右侧选项卡中,选择文件资源管理器,然后选择数据 - >数据 - > ,然后查看您选择的位置,然后按从设备按钮拉一个文件这是图像左上角的第一个按钮,对话框将如下图所示选择文件夹,并保存整个包的内容
现在您可以打开所选的文件夹,您可以在其中看到应用程序沙盒内容
I have an android app which uses sharedPreferences.
I run the app in my android device using Eclipse
I would like to pull the entire sandbox from the device to desktop so that I can manually see the contents of the sharedPreferences.
I clicked DDMS and clicked FileExplorer and saw data folder But its empty.
Any help is appreciated ! Thanks in advance !
If device is rooted may be it's possible. But in general you can not retrieve the sandbox of your app from your device to pc.
But you can achieve your goal which is getting the sandbox of your app by running your app on Android Virtual Device(AVD).Once the app is installed in AVD.
Switch to DDMS Perspective in Eclipse by choosing Window -> Open Perspective -> DDMS
Below is a sample DDMS screen
In the right side tab choose File Explorer then choose data -> data -> then see where is you package select it and press Pull a file from device button which is the first button on the top left side of image and a dialog box will come like below image choose the folder and the contents of your whole package will be saved
Now you can open the chosen folder and you can see you apps sandbox contents there
这篇关于如何从我的设备中使用Eclipse检索我的应用程序的沙箱?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!