Closed cvoronin closed 8 years ago
This is not an issue with the android-groovy plugin. Rather an issue with Android Studio. Some workaround ideas are to use IntelliJ, or try using the watches window.
I would suggest filing a bug with Android Studio if you want to see this issue fixed. https://sites.google.com/a/android.com/tools/filing-bugs
I am still getting this error even using the watches window. Android Studio 3.0.1 and Groovy plugin version 2.4.11. Maybe you could explain how it's an Android Studio bug if it only effects Groovy projects? A bug report to Google results in them saying they don't support Groovy so what am I supposed to do here? Even if this is an Android Studio bug it makes this project crippled and unusable so it should be a priority to fix it. As it stands I am now migrating my project off Groovy ASAP.
Android studio 1.5.1 org.codehaus.groovy:groovy:2.4.5:grooid classpath 'org.codehaus.groovy:gradle-groovy-android-plugin:0.3.8'
When in debbuger I alt-click on the variable, I get such an error-message:
When I place cursor over a variable, I see:
This issue seems to be related with https://github.com/groovy/groovy-android-gradle-plugin/issues/47 However in this case I see no way to switch between Groovy/Java