【发布时间】:2015-12-22 06:13:24
【问题描述】:
**当我尝试在手机中运行时,它运行良好,但在 nexus 选项卡上显示错误,并且我的 manifest.xml 文件代码如下
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.zolipe.www.contactsloader">
<uses-permission android:name="android.permission.READ_CONTACTS" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
**
提前致谢。
【问题讨论】:
-
也给
WRITE_CONTACTS权限 -
请在问题异常时添加完整的logcat报告
-
请将堆栈跟踪添加为纯文本,以便其他人可以找到它。