问题描述
谁能请告诉我如何可以让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:
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模拟器访问我的电脑文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!