androidandroid-studioandroid-studio-2.1android-instant-runinstant-run

no changes to deploy android studio 2.1


Android Studio 2.1 instant run is not updating the app on the device

I observed an issue with AndroidStudio 2.1. When I run the app with small java code changes, it doesn't update app on the device sometimes. Instead it shows a message

No changes to deploy // (Don't show again)

Am I missing any thing here? As a work around I do clean build every time in order to reflect the changes in app.


Solution

  • Upgrade Android studio version to 3 or more. this bug is resolved.

    This was a bug on version 2.0 instant run and issues were reported check these links

    https://code.google.com/p/android/issues/detail?id=199884 https://code.google.com/p/android/issues/detail?id=195062 https://code.google.com/p/android/issues/detail?id=206698 https://code.google.com/p/android/issues/detail?id=209413 https://code.google.com/p/android/issues/detail?id=206627

    thing to do would be to disable Instant Run entirely by

    Settings > Build, Execution, Deployment > Instant Run > Enable Instant Run

    You can file a bug at this link: Google Issue Tracker

    please check this answer https://stackoverflow.com/a/35169716/2826147 to turn it off.