7 months ago
We are getting issue while running Android App in Debug Mode in local computer on Windows.
Technology : React Native
Root Cause: This issue comes if you have already installed higher version on your Mobile.
Solution: First uninstall current App from your mobile and then try running below commands.
$ yarn android
Error Logs:
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.bo.xeloxo.property signatures do not match previously installed version; ignoring!
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 10s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Unable to install C:\XELOXO\GIT\Property\APP\HousePerSqft\xeloxo-home-mobile\android\app\build\outputs\apk\debug\app-debug.apk
com.android.ddmlib.InstallException: INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.bo.xeloxo.property signatures do not match previously installed version; ignoring!
at com.android.ddmlib.internal.DeviceImpl.installRemotePackage(DeviceImpl.java:1310)
at com.android.ddmlib.internal.DeviceImpl.installPackage(DeviceImpl.java:1136)
at com.android.ddmlib.internal.DeviceImpl.installPackage(DeviceImpl.java:1112)
Business Analyst at HCL Singapore
7 months ago