简体   繁体   中英

Android emulator not getting internet

On my emulator , I am not getting internet. But I am able to access google maps. The internet connection is ON. I am using fedora 13 machine . I have checked the default browser in the deice , but then also am not getting internet. I am getting internet connection on my system. Also i was getting internet connectivity through default browser in the device till yesterday. how can I resolve this issue?

如果您的系统具有Internet连接,那么您的仿真器也具有连接,因此无需对其进行额外的设置,(只需检查Airoplanemode禁用它,就可以显示不存在Internet连接的对话框,并且仍然会加载页面)。 android默认网络浏览器中的一些网址。

Make sure you have the permission listed in your AndroidManifest.xml

<uses-permission
    android:name="android.permission.INTERNET" />

See the permissions documentation for a complete list of permissions.

Without the permission declared, the sandbox will not let your app access the Internet.

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