Android 尝试调试颤振应用程序时AVC被拒绝

Android 尝试调试颤振应用程序时AVC被拒绝,android,dart,flutter,Android,Dart,Flutter,我四处打听,做了一些研究,但似乎找不到解决办法 I/example.localme(3862):type=1400审核(0.0:2646):avc:denied{ 为name=“cache”dev=“sdb3”ino=82035写入} scontext=u:r:untrusted_app:s0:c512、c768 tcontext=u:object\r:system\u data\u文件:s0 tclass=dir permissive=1 I/example.localme(3862):typ

我四处打听,做了一些研究,但似乎找不到解决办法

I/example.localme(3862):type=1400审核(0.0:2646):avc:denied{ 为name=“cache”dev=“sdb3”ino=82035写入} scontext=u:r:untrusted_app:s0:c512、c768 tcontext=u:object\r:system\u data\u文件:s0 tclass=dir permissive=1 I/example.localme(3862):type=1400审核(0.0:2647):avc:denied{ 为name=“localmeGMGRPB”添加_name} scontext=u:r:untrusted_app:s0:c512、c768 tcontext=u:object\r:system\u data\u文件:s0 tclass=dir permissive=1 I/example.localme(3862):type=1400审核(0.0:2648):avc:denied{ 为name=“localmeGMGRPB”创建} scontext=u:r:untrusted_app:s0:c512、c768 tcontext=u:object\r:system\u data\u文件:s0:c512,c768 tclass=dir 允许的=1


我也有同样的问题,结果是模拟器的网络/连接问题

可能的解决方案:

  • 打开WiFi连接
  • 工厂重置模拟器(这解决了我的问题)
  • 如果您针对的是较旧的android版本,请添加internet权限:

您能找到解决方案吗?