添加文件夹/文件Genymotion模拟器 [英] Add folder/files in Genymotion emulator

查看:715
本文介绍了添加文件夹/文件Genymotion模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要添加的文件夹在我的 Genymotion模拟器 我也试过这个<一href="http://stackoverflow.com/questions/18530114/accessing-files-from-genymotion-sd-card">question并遵守所有的指示,但文件夹没有显示在文件管理器 我也是从谷歌下载一些图片,而且这些不可见的文件管理器。

I want to add folder in my Genymotion emulator I also tried this question and follow all instruction but folder is not showing in file manager I also download some images from Google but also those not visible in file manager.

在我的模拟器安装下面的文件管理器     文件Managerv 1.0.1     该项目的CyanogenMod

In my emulator following file manager installed File Managerv 1.0.1 The CyanogenMod Project

推荐答案

我解决我的问题。

首先按照这个回答

  • 转到您的VirtualBox虚拟机设置/共享文件夹标签
  • 添加共享文件夹要共享的文件夹,并检查 自动安装选项
  • 在开始你的虚拟机像往常一样从Genymotion软件
  • 您的共享文件夹中的/ mnt /共享目录中 (多个共享文件夹支持)
  • Go to your VirtualBox VM setting / Shared folder tab
  • Add a shared folder with the folder you want to shared, and check the "auto mount" option
  • Start your VM as usual from the Genymotion software
  • Your shared folder is available in the /mnt/shared directory (multiple shared folders are supported)

之后, 文件管理器中的 Genymotion模拟器更改设置更改,以root用户所以我所有的文件夹还可见有共享文件夹

After that Change Settings of file Manager in Genymotion emulator change that to root user so all my folder visible also with Shared folders

  • 在Genymotion虚拟设备,运行应用程序文件管理器和 阅读关于低特权模式的广告语。
  • 进入设置菜单中的文件管理器
  • 在常规设置,点击访问模式并激活根 访问模式
  • 在重新启动文件管理器=>所有目录将是presented
  • In Genymotion virtual device, run the application "File Manager" and READ the advertisement about "low-privileged mode".
  • Go to "settings" menu from "File Manager"
  • In "general settings", click on "access mode" and activate "Root access" mode
  • Restart File Manager => all directories will be presented

感谢

更新 在较新的 genymotion 可以通过拖放添加文件/文件夹拖放。 这需要一定的时间,而在仿真器添加文件。时间取决于文件大小。

Update In newer version of genymotion you can add files/folder by drag and drop. It take some time while adding files in emulator. time depends on file size.

更新2(基于@GandhyOnly评论)

为使画廊可见只需拖放在模拟器他们存储在下载文件夹后完成文件传输您的图片文件重新启动相同的仿真器和图像将显示在画廊。或者,如果你不想重新启动模拟器,然后使用下面的命令

To make visible in gallery just drag and drop your images files on emulator they stored in download folder after finish transferring files restart same emulator and images will shown in gallery. Or if you don't want to restart emulator then use following command

adb shell am broadcast -a android.intent.action.MEDIA_MOUNTED -d file:///sdcard/

这将重新扫描图像,并显示在画廊。欲了解更多细节命令查看实际的答案这里。我没有检查命令我用第一种方法只需重新启动模拟器

it will rescan images and show them in gallery. For more detail about command see the actual answer here. I didn't check command I use first method just restart emulator

这篇关于添加文件夹/文件Genymotion模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆