【问题标题】:AVC denied when trying to debug flutter app尝试调试颤振应用程序时 AVC 被拒绝
【发布时间】:2019-03-05 21:16:53
【问题描述】:

我已经四处询问并对此进行了一些研究,但似乎找不到解决方法

I/example.localme(3862): type=1400 audit(0.0:2646): avc: denied { 为 name="cache" dev="sdb3" ino=82035 写 } scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=dir permissive=1 I/example.localme(3862):类型=1400 审核(0.0:2647):avc:拒绝{ add_name } for name="localmeGMGRPB" scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=dir permissive=1 I/example.localme(3862): type=1400 audit(0.0:2648): avc: denied { 为 name="localmeGMGRPB" 创建 } scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0:c512,c768 tclass=dir 许可=1

【问题讨论】:

  • 您找到解决方案了吗?

标签: android dart flutter


【解决方案1】:

我遇到了同样的问题,结果证明是模拟器的网络/连接问题。

可能的解决方案:

  • 打开 WiFi 连接
  • 将模拟器恢复出厂设置(这解决了我的问题)
  • 如果您的目标是较旧的 android 版本,请添加 Internet 权限: <uses-permission android:name="android.permission.INTERNET"/>

【讨论】:

    猜你喜欢
    • 2021-03-01
    • 2022-10-06
    • 2020-12-06
    • 2013-11-25
    • 2020-03-22
    • 1970-01-01
    • 1970-01-01
    • 2019-05-04
    • 1970-01-01
    相关资源
    最近更新 更多