如何让Android模拟器访问我的电脑文件? [英] How to make android emulator access my PC files?

查看:955
本文介绍了如何让Android模拟器访问我的电脑文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能请告诉我如何可以让Android模拟器访问我PC.I的媒体文件,不知道如何使two.Please之间的连接帮助我。
提前致谢。

can anyone please tell me how can I make android emulator access the media files of my PC.I dont know how to make the connection between the two.Please help me. Thanks in advance.

推荐答案

您可以检查这篇文章了解如何从你的文件推PC和Android模拟器:

You can check this post for information about pushing files from you PC to the Android Emulator:

<一个href=\"http://stackoverflow.com/questions/2506661/how-to-import-files-into-the-sdcard-on-emulator-in-android\">how导入文件到SD卡上的模拟器在android系统?

如果您要访问他们运行而不是在那里推的文件,你必须有中,你可以用类似的Apache Tomcat或FTP的HTTP访问和揭露的文件在互联网上公网IP,然后访问,从模拟器。

If you want to access them in runtime and not push the files there you have to have a public IP on the internet in which you can access and expose the files on HTTP with something like Apache Tomcat or FTP and then access that from the emulator.

您也可以在本地访问它,而不将其暴露于整个互联网,通过Android模拟器访问到localhost的IP地址。你必须寻找这是IP。

You can also access it locally without exposing it to the whole internet, by accessing from the Android emulator to the "localhost" IP. You'll have to search which IP this is.

这篇关于如何让Android模拟器访问我的电脑文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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