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
In your gradle, do you enable test coverage ?
buildTypes { debug { testCoverageEnabled = true } }
Set testCoverageEnabled = false , it fixed the issue. https://code.google.com/p/android/issues/detail?id=78045
testCoverageEnabled = false