0
を私は通知用のアプリを作って、私はそれを実行すると、それはマニフェスト合併は、ログを参照して、複数のエラーで失敗しました」
を示し、「マニフェスト合併は、「ログを参照してください、複数のエラーで失敗しました。
Iすでにきれいにし、プロジェクトを再ビルドしかし、動作しないとログの猫は、私はそれを含めることはできません大きすぎる
たManifest.xml:。。。
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:replace="android:icon"
package="shiweichen22gmail.notification">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="shiweichen22gmail.notification.permission.C2D_MESSAGE"
android:protectionLevel="signature"/>
<uses-permission android:name="shiweichen22gmail.notification.permission.C2D_MESSAGE"/>
<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">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<receiver
android:name="com.google.android.gms.gcm.GcmReceiver"
android:exported="true"
android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE"/>
<category android:name="shiweichen22gmail.notification"/>
</intent-filter>>
</receiver>
<service android:name=".GCMPushReceiverService" android:exported="false">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE"/>
</intent-filter>
</service>
<service android:name=".GCMRegistrationIntentService" android:exported="false">
<intent-filter>
<action android:name="com.google.android.gms.iid.InstanceID"/>
</intent-filter>
</service>
</application>
</manifest>