Android Studio 的模拟器未连接到互联网

标签 android avd

我使用的是 windows 10 和 android studio 3.0.1。 过去,我可以在我的 Android 模拟器上使用互联网,但现在,我不能! 我在 stackoverflow 中看到了类似的主题,但答案对我不起作用, 我该怎么办?

最佳答案

在 Windows cmd 上尝试此命令,同时将路径替换为您自己的路径。 C:\Users\prashant\AppData\Local\Android\sdk\emulator\emulator.exe -avd Nexus_5X_API_25 -dns-server 8.8.8.8

如果这不起作用,请尝试 genymotion,这是最好的。 Here

关于Android Studio 的模拟器未连接到互联网,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49535453/

相关文章:

android - eclipse (安卓): When clicking 'Run' /'Debug' nothing happens

Android Studio AVD - 模拟器 : Process finished with exit code 1

android - 如何从命令行设置模拟器像素密度?

android - WebView 不能加载 html 数据超过 2 次

java - BottomSheet 在屏幕中的错误位置

android - 重用 AlertDialog 标题布局

android - Android Studio 中有哪些皮肤类型?

android - 模拟器不加载

Android in App billing test purchase 崩溃 Play store

android - 使用两个不同字段对列表进行排序的最佳方法