I can\'t figure out to get this working.
Scenario:
What I w
So, I use IntelliJ for my Android project, and the following solved the issue in the IDE:
just cause it might save someone the few hours I wasted... IntelliJ -> Preferences -> Build, Execution, Deployment -> Build tools -> Maven -> Gradle
and set Gradle JVM to 1.8 make sure you also have JDK 8 installed...
NOTE: the project was compiling just fine from the command line