I am aware that you can fully disable instant run(the new Android 2.0 functionality). However I do like the feature except in some cases:
-When making changes to a layout file, it often does not pick up the changes causing Nullpointer when accessing those resources.
Is there a way to bypass instant run? And force a re-installation?
I do know that changes the AndroidManifest forces this but that’s not convenient.
Android Studio 2.0, 2.1 and 2.2:
If you need to deploy a clean build, select
Clean and Rerun 'app' from the main menu, or hold down the
Shift key while clicking
Rerun. This action stops the running app, performs a full clean build, and deploys the new APK to your target device.
See also the Instant Run documentation, paragraph “Using Rerun”
Android Studio 2.3:
The behaviour of Instant Run has changed in Android Studio 2.3