简体   繁体   中英

Why can't I load my local page using Webview

I came to seek help, I have search, read and tried several solutions I came across, but none seem to work for me,

I can't access my local website from the android emulator, using "http://10.0.2.2", but I tried it on other computer, and it works, I'm using Android Webview, does it have something to do with htaccess? How can I determine which htaccess is settings is in effect?

Is there anything I've missed to make it work, btw, when I try to access the local page using the builtin browser, I can access it without any troubles.

Do you have the android.permission.INTERNET permission in your manifest? For more information see: http://developer.android.com/reference/android/Manifest.permission.html

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