用android模拟器,调试app,app无法访问网络。
报下面的错误
E/netmgr: Failed to open QEMU pipe 'qemud:network': Invalid argument
E/netmgr: WifiForwarder unable to open QEMU pipe: Invalid argument
E/memtrack: Couldn't load memtrack module
可能需要mac网络DNS配置
可能需要设置下面
This issue was occurring in Android 9.0 for me and I fixed it by adding android:usesCleartextTraffic="true" inside application tag.
<application
..
android:usesCleartextTraffic="true"
>