如何在Android AVD中打开SD卡文件夹?
我的 Android SDK 插件目录中有 2.3 版本的 Motorola MB860 SDK 插件。我创建了一个 AVD 来使用它来模拟 Atrix 硬件。
现在我的应用程序在 SD 卡的根目录中创建一个文件夹。我安装了要在模拟器上运行的应用程序。应用程序安装正常,但我不知道如何导航和打开 SD 文件夹。有人可以帮我吗?
是的,在创建 AVD 期间,我将 SD 卡大小指定为 1 GB,并且当模拟器出现时,它说正在准备 SD 卡,但我没有看到任何“文件”应用程序,如手机中打开 SD 卡文件夹。
编辑 - 找到它 - 我可以访问开发人员工具/
编辑中的终端仿真器 - 更新 - 请有人告诉我如何删除 sdcard 中的文件夹?我进入终端模拟器并执行 rm -r 它说未找到权限。我执行“su”,它说用户没有权限?我该怎么做
在 DDMS 中如何删除目录
更新 - 问题已解决
c:\Program Files (x86)\Android\android-sdk\platform-tools>adb.exe shell rm -r /mnt/sdcard/<directoryname>
修复它
i have the Motorola MB860 SDK addon for 2.3 in my addons directory of Android SDK. I created a AVD to emulate Atrix hardware using that.
Now my application creates a folder in the SD card's root directory. I installed the application to run on the emulator. The application installed fine, but i don't know how to navigate and open the SD folder. Could someone help me out?
Yes during creation of AVD, i specified the SD card size to be 1 GB, also when the emulator came up, it said preparing SD card, but i don't see any "Files" app as in phone to open the SD card folder.
EDIT - Found it - i got access to Terminal Emulator in Developer Tools/
EDIT - Update - Please someone tell me how to delete the folder in sdcard ?? i got to Terminal Emulator and do rm -r it says permission not found. I do "su" and it says the user does not have the permission? How do i do that
In DDMS how to delete the directory
Update - Question is resolved
c:\Program Files (x86)\Android\android-sdk\platform-tools>adb.exe shell rm -r /mnt/sdcard/<directoryname>
fixed it
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您使用的是 Eclipse,则可以通过转到“窗口”->“文件资源管理器”来打开“文件资源管理器”。显示视图->其他->安卓->文件浏览器
If you're using Eclipse, you can open up File Explorer by going to Window -> Show View -> Other -> Android -> File Explorer
如果您不想使用 Eclipse,可以转到 Android SDK 所在的文件夹。您将在工具文件夹中找到 ddms.bat。稍后在菜单中单击设备 ->文件资源管理器。
据我所知,DDMS 比 Eclipse 插件有更多的功能。
If you're don't want to use Eclipse you can go to the folder where you have Android SDK. There you will find ddms.bat in tools folder. Later in menu click on Device -> File Explorer.
As far as i know DDMS has more features than Eclipse plugin.