Execution failed for task ':app:installDebug'.
java.util.concurrent.ExecutionException: com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.schoolproject signatures do not match previously installed version; ignoring!
Solution of that type error
U will get that type error if you are run on your mobile using npx react-native run-android
- please uninstall app-release.apk app if you already installed it on your device.
1.1 why required to uninstall- because the same name two application unable to install one application is release mode and one is on debug mode same name app.
- then after run command npx react-native run-android
You might just have a same application in your device already, uninstall it and then run the app again.
Such error comes when your signature of the old version and new version does not match. Read more here: https://developer.android.com/studio/publish/app-signing
If you want to have multiple apps based on different types, then add productFlavours in your application. Read more on that here.