我正在尝试向一个设备发出http请求,该设备创建自己的wifi热点,并且只允许http请求。在安卓8和更低版本中,http请求是成功的,但在安卓9中却失败了。不过,使用android 9的google pixel 2似乎还能正常工作。我曾尝试在AndroidManifest.xml中启用android:usesCleartextTraffic="true“。我按照这里的解决方案How to allow all Network connecti
RqsLocation(final int cid,final int lac){
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.sachinparashar.celldemo