"'this' is not available" in debug windows of Android Studio

Solution 1:

Inside Lambda block we can't evaluate the value of variables. Changing from the lambda expression to normal expression solved my issue

Solution 2:

I think this is an issue related to Reflexion. My project was using Hugo. As soon as I disable it, the bug disappeared.

Issue has been pushed : https://github.com/JakeWharton/hugo/issues/127

Solution 3:

this keyword is references to the current object instance, as in the the official Java documentation.

In your case the error message 'this' is not available means that the debugger cannot access (i.e. does not know) the current object.