INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package signatures do not match the previously installed version; ignoring : <p>I get this error when trying generate a debug apk for update an app directly on the device (Android - React Native):</p>

<blockquote>
  <p>Execution failed for task ':app:installDebug'.</p>
  
  <blockquote>
    <p>com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: Failed to finalize session :
    INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package prensa.com signatures do
    not match the previously installed version; ignoring!</p>
  </blockquote>
</blockquote>

<p>Im sure that version code and version name were incremented and the package name is the same.</p>

<p>Also, the keystore and other keys are same used before.</p>

<p>Where is the error?</p>
