Android Studio 2.0 update - public static volatile com.android.tools.fd.runtime.IncrementalChange

こ雲淡風輕ζ 提交于 2019-12-05 07:59:17
Best Coder

It happens due to Instant Run a new feature introduced in 2.0 Android studio and it can be disabled as follows.

http://tools.android.com/tech-docs/instant-run

By default, Android Studio automatically restarts the current activity after performing a hot swap, while the app keeps running. To disable this setting:

Open the Settings or Preferences dialog.

Navigate to Build, Execution, Deployment > Instant Run.

Uncheck the box next to Restart activity on code changes. If automatic activity restart is disabled, you can manually restart the current activity from the menu bar by selecting Run > Restart Activity.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!