Tag: 设备模拟

Android:在模拟器中模拟WiFi?

我想从我的应用程序检查设备是否具有WiFi连接,但为了做到这一点,我必须首先find一种方法来在模拟器中获得“WiFi”。 只要去设置 – >无线控制 – > Wifi说无法启动Wi-Fi ,而logcat说: E/WifiService( 566): Failed to load Wi-Fi driver. D/SettingsWifiEnabler( 695): Received wifi state changed from Unknown to Enabling D/SettingsWifiEnabler( 695): Received wifi state changed from Enabling to Unknown 如何在模拟器中模拟WiFi连接?