title: INSTALL_FAILED_CONFLICTING_PROVIDER in Android
body: <p>I am using an open-srouce code from Google for an app called MyTracks.</p>
  
  <p>I am getting this error when the original app is installed on the phone.</p>
  
  <pre><code>INSTALL_FAILED_CONFLICTING_PROVIDER
  </code></pre>
  
  <p>I know that this is because of the <code>android:authorities</code> in the Manifest.</p>
  
  <p>here is the part of the Manifest:</p>
  
  <pre><code>&lt;provider
  android:name="com.google.android.apps.mytracks.content.MyTracksProvider"
  android:authorities="com.google.android.maps.mytracks"
  android:exported="true"
  android:readPermission="com.google.android.apps.mytracks.READ_TRACK_DATA"
  android:writePermission="com.google.android.apps.mytracks.WRITE_TRACK_DATA" /&gt;
  &lt;!-- Search suggestion provider --&gt;
  &lt;provider
  android:name="com.google.android.apps.mytracks.content.SearchEngineProvider"
  android:authorities="com.google.android.maps.mytracks.search"
  android:exported="false" /&gt;
  </code></pre>
  
  <p>So, my question is: I want to know whether this approach may solve the problem or not, because I am afraid of changing all the packages names and then have the whole app broken.</p>
  
  <ol>
  <li>The <code>android :authorities</code> value is the package name. The <code>android:name</code> is the name of the class of that provider.
  Am I correct?</li>
  </ol>
  
  <p>If I change the package name, to another one different than the com.google etx, and rename all the references/ imports of that package, should the problem go away?</p>