java.lang.SecurityException: Permission Denial: opening provider的解决方法

来源:互联网 发布:人工智能论文网站 编辑:程序博客网 时间:2024/05/21 14:03

在清单文件manifest文件中对provider作如下授权:

<provider android:name=".StudentProvider"             android:authorities="com.example.and_contentprovider.StudentProvider"             android:exported="true">        </provider>
0 0
原创粉丝点击