How to get internet to work in Android TV emulator

牧云@^-^@ 提交于 2019-12-24 04:48:08

问题


I have an Android TV (not google TV) emulator setup running android tv 5.0 and it has no access to the internet. In settings for both wifi and ethernet it says "no connection". Is there something I am missing? I have emulators for other versions of android running on phones and everything networking wise works ok.

Also I am not saying that my app has no internet access. I am saying that the actually Android TV settings says no network connections.


回答1:


The Android SDK emulator images do not emulate any particular network connection (WiFi, Ethernet, etc.), just general availability of Internet access. This is not unique to the Android TV emulator -- all the emulator images behave this way. For most apps, this isn't a problem, as they just need Internet access. For apps that need lower-level information, you are unfortunately stuck with testing on hardware.

Note that third-party emulators, like Genymotion, may offer other alternatives.



来源:https://stackoverflow.com/questions/27650630/how-to-get-internet-to-work-in-android-tv-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!