In Android Studio 2.0, Cannot find local variable of method in debug mode

后端 未结 7 2119
轻奢々
轻奢々 2021-01-07 18:17

After Updating the android version 1.5 to 2.0 Preview4. Android studio Debugger unable to find the local variable defined in method definition. For reference, find the below

7条回答
  •  [愿得一人]
    2021-01-07 18:20

    Disable jack for debug build type (build.gradle):

    buildTypes {
        ...
        debug {
            jackOptions {
                enabled false
            }
        }
    }
    

    Note: 1.8 source compatibility requires jack!

提交回复
热议问题