Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/199.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
android emulator(macOS)上未连接网络_Android_Macos_Android Studio_Android Emulator - Fatal编程技术网

android emulator(macOS)上未连接网络

android emulator(macOS)上未连接网络,android,macos,android-studio,android-emulator,Android,Macos,Android Studio,Android Emulator,大家好,我正在尝试使用Android Studio构建一个语音识别应用程序,并在我的模拟器上运行它。它说,当我尝试使用语音识别时,网络没有连接,但我可以在模拟器上使用谷歌,这很奇怪 我尝试过更改我的DNS,也尝试过adb kill server和adb start server,但仍然存在相同的问题。 我还交了一个朋友,他用windows pc试着运行代码,而且似乎很管用。所以我肯定这是Mac电脑的问题,但我就是想不出来 您的代码似乎包含网络调用。

大家好,我正在尝试使用Android Studio构建一个语音识别应用程序,并在我的模拟器上运行它。它说,当我尝试使用语音识别时,网络没有连接,但我可以在模拟器上使用谷歌,这很奇怪

我尝试过更改我的DNS,也尝试过adb kill server和adb start server,但仍然存在相同的问题。 我还交了一个朋友,他用windows pc试着运行代码,而且似乎很管用。所以我肯定这是Mac电脑的问题,但我就是想不出来


您的代码似乎包含网络调用。