android - Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple errors, see logs -


i trying implement gcm tutorial , first resolved permission problem, after error coming haev tried seveal link on stackoverflow, related permission declaration. pleaes me resolve issue.

manifest file

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:tools="http://schemas.android.com/tools"     package="com.example.akash.gcm5">      <uses-sdk         android:minsdkversion="15"         android:targetsdkversion="23" />      <uses-permission android:name="com.example.akash.gcm5.c2d_message" android:protectionlevel="signature"/>     <uses-permission android:name="com.example.akash.gcm5.c2d_message" />     <uses-permission android:name="com.google.android.c2dm.permission.receive" />     <uses-permission android:name="android.permission.wake_lock" />      <application         android:allowbackup="false"         android:icon="@drawable/ic_launcher"         android:label="@string/app_name"         tools:replace="android:icon">         <activity             android:name=".gcmmainactivity"             android:launchmode="singletask" >             <intent-filter>                 <action android:name="android.intent.action.main" />                  <category android:name="android.intent.category.launcher" />             </intent-filter>         </activity>         <activity android:name=".gcmmessageview" >         </activity>          <service android:name=".gcmintentservice" />          <receiver             android:name="com.google.android.gcm.gcmbroadcastreceiver"             android:permission="com.google.android.c2dm.permission.send" >             <intent-filter>                 <action android:name="com.google.android.c2dm.intent.receive" />                 <action android:name="com.google.android.c2dm.intent.registration" />                  <category android:name="com.example.akash.gcm5" />             </intent-filter>         </receiver>     </application> 

app gradle file

apply plugin: 'com.android.application'  android {     compilesdkversion 23     buildtoolsversion "23.0.2"      defaultconfig {         applicationid "com.example.akash.gcm5"         minsdkversion 15         targetsdkversion 23         versioncode 1         versionname "1.0"     }     buildtypes {         release {             minifyenabled false             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'         }     } }  dependencies {     compile filetree(dir: 'libs', include: ['*.jar'])     testcompile 'junit:junit:4.12'     compile 'com.android.support:appcompat-v7:23.1.1'     compile 'com.android.support:design:23.1.1'   } 


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -