安卓

小米手机不能连接电脑调试了

2022-06-05 19:59:04.583 3425-5977/? D/DownloadThread:  runInternal catch StopRequestException:30 fileName= url=http://file.market.xiaomi.com/download/AppStore/07ce74fe96eae9fe425db9fa4fd8bbc714d43e564 statusInfo=700(700), errorMsg=XLGetDownloadHeader http error headers={x-link-via=fzct36:80;taizmp01:443;taizmp01:904;, x-b2f-cs-cache=no-cache, ResponseCode=404, X-Cache-Status=MISS from KS-CLOUD-FZ-CT-36-16, Server=Server/2.3.2, ETag="627b3a66-a5d", Connection=keep-alive, Content-Length=2653, Date=Sun, 05 Jun 2022 11:41:14 GMT, X-Cdn-Request-ID=039a184cf87f04f6cf481a1d0ef4ce0e, IDX-QState=4, Content-Type=text/html}(1101)
2022-06-05 19:59:04.591 3425-5977/? I/XLDownloadManager: XLStopTask()----- ret=9000 [XLDownloadManager.java:469 - com.xunlei.downloadlib.XLDownloadManager.stopTaskWithReason] []
2022-06-05 19:59:04.638 615-615/? E/SELinux: avc:  denied  { find } for service=phone pid=3425 uid=10003 scontext=u:r:mediaprovider:s0:c512,c768 tcontext=u:object_r:radio_service:s0

修改如下,

之前把这个方法静态化了,static,去掉静态化后,改用其他方法实现功能,就正常了

public void getRemoteMemberInfo() {
    Request<JSONObject> request = NoHttp.createJsonObjectRequest(API.API_HOST + "getMemberInfo.php", RequestMethod.POST);
    request.add("token", token);
    request.add("action", "post");
    CallServer.getRequestInstance().add(MemberCenterActivity.this, 0, request, objectListener, true, true);
}

tclass=service_manager permissive=0