android - E/libprocessgroup: 无法创建和 chown /acct/uid_10061: 只读文件系统
问题描述
我正在尝试打开电话上的拨号页面并在此页面中显示一个电话号码,其中包含以下代码:
Intent intent_call = new Intent(Intent.ACTION_VIEW,Uri.parse("09128317777"));
startActivity(intent_call);enter code here
但我收到以下错误:
E/libprocessgroup: failed to make and chown /acct/uid_10061: Read-only file system
请帮我解决它。
解决方案
我通过在我的代码中添加 tel: 解决了我的问题。这是正常工作的代码:
Intent intent_call = new Intent(Intent.ACTION_VIEW,Uri.parse("tel:09128317777"));
startActivity(intent_call);
推荐阅读
- python - Django 中不推荐使用的包语法
- ios - 基于视图的中心标签
- mysql - Windows 10 更新后 MySql 5.7 服务未启动
- python - API 网关返回额外数据错误
- javascript - ReactJS 的实时 API 监听器
- mongodb - MongoDB 聚合:$Project(如何在同一投影管道的另一个字段上使用一个字段)
- c# - 在多级继承的情况下如何使用虚拟关键字
- c# - 如何编写代码以在 Destructor/Dispose 方法中释放托管/非托管资源
- ios - ios PDFKit displaymode = singlepage 只显示pdf的第一页
- python - 我怎样才能明确地看到'self'在python中做了什么?