(OS Error: No address associated with hostname, errno = 7)
来源:12-10 基于自定义WebView实现H5混合开发-3【H5混合实战】
慕码人8953351
2020-02-16
I/flutter (11556): SocketException: Failed host lookup: ‘www.devio.org’ (OS Error: No address associated with hostname, errno = 7)
写回答
1回答
-
CrazyCodeBoy
2020-02-16
在 AndroidManifest.xml中添加下网络权限试试:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.devio.fluttertrip"> <!-- The INTERNET permission is required for development. Specifically, flutter needs it to communicate with the running application to allow setting breakpoints, to provide hot reload, etc. --> <uses-permission android:name="android.permission.INTERNET"/> ...
10
相似问题