Hot swap debugging with Android

前端 未结 4 1210
余生分开走
余生分开走 2021-02-05 06:19

1) Is there any special setting/configuration required to enable hot swap debugging on Android?

Example case:

  • Add breakpoint just after entering activity\'
4条回答
  •  日久生厌
    2021-02-05 06:57

    Android Studio 2.0 preview introduced a hot swap feature. You get it by upgrading to:

            classpath group: 'com.android.tools.build', name: 'gradle', version: '2.0.0-alpha1'
    

    And then setting it from the menu:

提交回复
热议问题