android 請求接口報錯 org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.1.90:9090

No Network Security Config specified, using platform default
I/System.out: org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.1.90:9090 refusedandroid

請求不到接口,解決辦法:apache

在 AndroidManifest.xml 中添加 3d

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

相關文章
相關標籤/搜索