Flutter: INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.example.app signatures do not match previously installed version; ignoring
Flutter Error:
Launching lib\main.dart on Nokia 4 2 in debug mode...
lib\main.dart:1
✓ Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...
Error: ADB exited with exit code 1
Performing Streamed Install
adb: failed to install D:\app\outputs\flutter-apk\app.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.example.app signatures do not match previously installed version; ignoring!]
Error launching application on Nokia 4 2.
Solution 1:
You need to uninstall it because you are using a different signature than the original. If it is not working it might be because it is still installed for another user on the device. To completely uninstall, go to Settings -> Apps -> yourApp -> Options (the three dots on top right) -> Uninstall for all users
Solution 2: run follwoing command that will solve your problem
- adb uninstall "yourApp"
- example: adb uninstall "com.example.myapp"
thanks a lot man! helped a lot
ReplyDelete