Android Studio 2.0 Beta 6 发布,该版本修复了如下重要的 bug:
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 android-annotations are now compatible with InstantRun.
During hot swaps, initial code and incremental updates are no longer loaded from a different class loader
下载地址:Android Studio 2.0 Beta 6