在AndroidManifest.xml中
不小心加了android:permission="android.permission.ACCESS_CHECKIN_PROPERTIES",去掉就行。
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.video"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="21" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainVideoActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar" android:screenOrientation="landscape" android:permission="android.permission.ACCESS_CHECKIN_PROPERTIES">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".PlayActivity"
android:label="@string/title_activity_play"
android:theme="@android:style/Theme.NoTitleBar" android:screenOrientation="landscape">
</activity>
</application>
</manifest>