We've just promoted beta 6 from the canary to the beta channel. Relative to beta 5 (the previous build in the beta channel) we've fixed or disabled Instant Run for a number of critical bugs.
This build fixes a couple of important bugs related to instant run:
Apps that were using multiple processes (via android:process in the manifest) were not being updated properly with Instant Run. For the time being, we have turned off Instant Run in such a scenario.
Certain devices that have an incorrect version of the “run-as” command behaved incorrectly with instant run. This would manifest as Instant Run being unable to upload a new version when the application wasn’t running. We now properly handle this scenario and gracefully degrade to doing a full apk installation.
Instant Run was not working properly if the application was in the background. We now do the correct updates in such a scenario - the application will be terminated and restarted.
We automatically turn off Proguard or Jacocco when used with Instant Run.
- Handling of native libraries :
- changing source code of a native library should trigger a coldswap.
- hotswap can lead to UnsatisfedLink exceptions
- Applications using AndroidAnnotations are now compatible with Instant Run.
During hot swaps, initial code and incremental updates are no longer loaded from a different class loader
We really appreciate all the wonderful and detailed feedback on the 2.0 preview and beta releases. Thank you and please continue to give us feedback! (via Help > Submit Feedback.)
You can update your current 2.0 Preview installation to 2.0 Beta 6 via the built-in patch mechanism (Check for Updates).
You can also update from 1.5 to 2.0 Beta via the patch mechanism, but you may not want to do that: See our page about how to keep multiple installations simultaneously while Studio is in preview mode.
You can also download a full zip of 2.0 Beta from the Android Studio 2.0 Beta 6 page.
If you run into problems, be sure to check the Known Issues page which we'll update as necessary.