本文介绍了Genymotion无法识别SD卡上的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我一直在玩Genymotion。喜欢使用它不过一直无法弄清楚如何让图像到Android图库应用(这样我就可以测试其他应用程序)。目前在Galaxy Nexus的运行Android 4.3。

So I've been playing with Genymotion. Love using it however haven't been able to figure out how to get images into the Android Gallery app (so i can test another app). Currently running Android 4.3 on a Galaxy Nexus.

试图通过亚洲开发银行,并通过Eclipse的文件浏览器推图像。这些图像复制精细到/ mnt /壳/模拟/ 0 /图片。

Tried pushing images through adb and through eclipse's file explorer. The images are copied over fine to /mnt/shell/emulated/0/Pictures.

有何建议?是否有可能使用Genymotion获得图片在画廊?

Any advice? Is it possible to get pictures in Gallery using Genymotion?

在此先感谢。

编辑:
好不容易才从浏览器做到这一点,但还是好奇通过ADB或文件系统做传输图像到画廊。

Managed to do it from the browser, however still curious about doing transferring images into Gallery via adb or the file system.

推荐答案

的问题是,所述库需要的文件夹重新扫描到索引上的存储的图像。 亚行推不调用库重新扫描。

The problem is that the gallery needs to rescan the folders to index the pictures on the storage. adb push does not call the gallery to rescan.

您可以启动这个广播,使库加载其内容复制你的照片后:

You can launch this broadcast to make the gallery reload its content after you copied your picture:

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

这篇关于Genymotion无法识别SD卡上的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 17:51