简体   繁体   中英

How to get internet to work in Android TV emulator

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM