3

when i run the app in mobile, "Application installation failed" dialog came.

Installation failed since the device possibly has stale dexed jars that don't match the current version (dexopt error). In order to proceed, you have to uninstall the existing application.

WARNING: Uninstalling will remove the application data!

Do you want to uninstall the existing application?

dialog is displaying. Please anyone help me out.

1 Answers1

0

My solution is as follows: set the option in Android Studio in Instant Run is not selected (1) find the options in Instant Run based on the following path File - Settings - Build, Execution, Deployment - Instant Run (2) Enable Run to swap changes on deploy (default enabled) in the selection box to cancel the Instant code/resource.

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343
叶为正
  • 81
  • 1
  • 2