title: Installation failed with message INSTALL_FAILED_CONFLICTING_PROVIDER
body: <p>I am getting <strong>"Installation failed with message INSTALL_FAILED_CONFLICTING_PROVIDER."</strong> while run the project in Android Studio.</p>
  
  <p>How to resolve this?</p>
  
  <p>My manifest.xml is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.mmsapp" &gt;
  
      &lt;uses-permission android:name="android.permission.SEND_SMS" /&gt;
      &lt;uses-permission android:name="android.permission.RECEIVE_SMS" /&gt;
      &lt;uses-permission android:name="android.permission.READ_SMS" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_SMS" /&gt;
  
      &lt;uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.RECEIVE_MMS" /&gt;
  
  
      &lt;uses-permission android:name="android.permission.READ_CONTACTS" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.CALL_PHONE" /&gt;
      &lt;uses-permission android:name="android.permission.VIBRATE" /&gt;
  
      &lt;uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /&gt;
      &lt;uses-permission android:name="android.permission.CALL_PHONE" /&gt;
      &lt;uses-permission android:name="android.permission.READ_CONTACTS" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_CONTACTS" /&gt;
      &lt;uses-permission android:name="android.permission.RECEIVE_SMS" /&gt;
      &lt;uses-permission android:name="android.permission.RECEIVE_MMS" /&gt;
      &lt;uses-permission android:name="android.permission.SEND_SMS" /&gt;
      &lt;uses-permission android:name="android.permission.VIBRATE" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.READ_SMS" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_SMS" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.INSTALL_DRM" /&gt;
  
      &lt;uses-permission android:name="android.provider.Telephony.SMS_RECEIVED" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_SETTINGS" /&gt;
  
      &lt;uses-feature
          android:name="android.hardware.camera"
          android:required="false"&gt;&lt;/uses-feature&gt;
  
      &lt;uses-feature
          android:glEsVersion="0x00020000"
          android:required="true" /&gt;
  
      &lt;application
          android:name=".Volley.AppController"
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme"&gt;
  
          &lt;activity
              android:name=".ui.SplashScreenActivity"
              android:screenOrientation="portrait"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=".ui.tutorial.Demo1"
              android:screenOrientation="portrait" /&gt;
          &lt;activity
              android:name=".ui.tutorial.Demo2"
              android:screenOrientation="portrait" /&gt;
          &lt;activity
              android:name=".ui.tutorial.Demo3"
              android:screenOrientation="portrait" /&gt;
          &lt;activity
              android:name=".ui.tutorial.Demo5"
              android:screenOrientation="portrait" /&gt;
          &lt;activity
              android:name=".ui.tutorial.Demo4"
              android:screenOrientation="portrait" /&gt;
          &lt;activity
              android:name=".ui.Setup1"
              android:screenOrientation="portrait"
              android:theme="@android:style/Theme.NoTitleBar"
              android:windowSoftInputMode="adjustResize" /&gt;
          &lt;activity
              android:name=".ui.Setup2"
              android:screenOrientation="portrait"
              android:theme="@android:style/Theme.NoTitleBar" /&gt;
          &lt;activity
              android:name=".ui.Setup3"
              android:screenOrientation="portrait" /&gt;
          &lt;activity
              android:name=".ui.Setup4"
              android:screenOrientation="portrait" /&gt;
          &lt;activity
              android:name=".ui.MessageListActivity"
              android:theme="@style/AppTheme" /&gt;
          &lt;activity
              android:name=".ui.MessagingActivity"
              android:theme="@android:style/Theme.NoTitleBar" /&gt;
          &lt;activity
              android:name=".ui.SettingsActivity"
              android:screenOrientation="portrait"
              android:theme="@android:style/Theme.NoTitleBar" /&gt;
          &lt;activity
              android:name=".ui.StatisticsActivity"
              android:screenOrientation="portrait"
              android:theme="@android:style/Theme.NoTitleBar" /&gt;
          &lt;activity
              android:name=".ui.LoginActivity"
              android:screenOrientation="portrait"
              android:theme="@android:style/Theme.NoTitleBar" /&gt;
          &lt;activity
              android:name=".v2.ui.SignInActivity"
              android:screenOrientation="portrait" /&gt;
          &lt;activity
              android:name=".ui.SignInActivity"
              android:screenOrientation="portrait" /&gt;
  
          &lt;activity
              android:name=".ui.UpdatePasswordActivity"
              android:screenOrientation="portrait"
              android:theme="@android:style/Theme.NoTitleBar" /&gt;
  
          &lt;receiver android:name=".control.SmsReceiver"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.provider.Telephony.SMS_RECEIVED" /&gt;
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
  
  
          &lt;activity
              android:name=".mms.MainActivity"
              android:label="@string/app_name"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.SEND" /&gt;
                  &lt;action android:name="android.intent.action.SENDTO" /&gt;
  
                  &lt;category android:name="android.intent.category.DEFAULT" /&gt;
                  &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
  
                  &lt;data android:scheme="sms" /&gt;
                  &lt;data android:scheme="smsto" /&gt;
                  &lt;data android:scheme="mms" /&gt;
                  &lt;data android:scheme="mmsto" /&gt;
              &lt;/intent-filter&gt;
              &lt;intent-filter&gt;
                  &lt;category android:name="android.intent.category.DEFAULT" /&gt;    
                  &lt;data android:mimeType="text/plain" /&gt;
                  &lt;data android:mimeType="image/*" /&gt;
  
                  &lt;action android:name="android.intent.action.SEND" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
  
          &lt;activity android:name="eu.janmuller.android.simplecropimage.CropImage" /&gt;
  
          &lt;service android:name="com.android.mms.transaction.TransactionService" /&gt;
  
          &lt;receiver
              android:name=".mms.SmsReceiver"
              android:permission="android.permission.BROADCAST_SMS"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.provider.Telephony.SMS_DELIVER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
          &lt;receiver
              android:name=".mms.MmsReceiver"
              android:permission="android.permission.BROADCAST_WAP_PUSH"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.provider.Telephony.WAP_PUSH_DELIVER" /&gt;
  
                  &lt;data android:mimeType="application/vnd.wap.mms-message" /&gt;
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
  
          &lt;service
              android:name=".mms.HeadlessSmsSendService"
              android:exported="true"
              android:permission="android.permission.SEND_RESPOND_VIA_MESSAGE"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.RESPOND_VIA_MESSAGE" /&gt;
  
                  &lt;category android:name="android.intent.category.DEFAULT" /&gt;
  
                  &lt;data android:scheme="sms" /&gt;
                  &lt;data android:scheme="smsto" /&gt;
                  &lt;data android:scheme="mms" /&gt;
                  &lt;data android:scheme="mmsto" /&gt;
              &lt;/intent-filter&gt;
          &lt;/service&gt;
  
          &lt;activity android:name=".mms.PermissionActivity" /&gt;
  
      &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/eT2h4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eT2h4.png" alt="enter image description here"></a></p>