I have set the jdk to Java 8 and I have modified all the build.gradle files in my project to have sourceCompatibility = 1.8 instead of 1.6. My problem is that while it does work on Desktop it doesn’t when I run it on Android. Can someone tell me how to properly set up the project to use Java 8 so that it works on all platforms in IntelliJ?
↧