0

I am using Intellij and I am trying to run a simple hello world android application. But i get the following error.

Error:java: invalid source release: 8

What could be the problem, any help?

Thanks in advance!

qualitytest
  • 763
  • 1
  • 10
  • 18

1 Answers1

0

Android only supports java 7 so I assume that somewhere in your gradle/Intellij settings java 8 as source version is set. See this answer for more information: Which JDK version (Language Level) is required for Android Studio?

Community
  • 1
  • 1
morpheus05
  • 4,772
  • 2
  • 32
  • 47