本文介紹了Android 模擬器上沒有互聯網 - 為什么以及如何修復?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
我正在嘗試通過 Android 模擬器使用互聯網,但沒有成功.有什么想法嗎?
I am trying to use internet with the Android emulator, but with no success. Any ideas?
推薦答案
如果使用互聯網"是指在模擬器上測試時無法通過活動訪問互聯網,請確保已在你的 AndroidManifest.xml
If by "use internet", you mean you can not access the internet from an activity while testing on the emulator, make sure you have set the internet permission in your AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" />
如果您使用的是網絡瀏覽器,請參閱 Donal 的帖子
If you are using the web browser, refer to Donal's post
這篇關于Android 模擬器上沒有互聯網 - 為什么以及如何修復?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!