I am trying to set up a CI build system with Travis CI. When I build on my laptop with Android studio, everything is peachy-keen.
But when I build on the CI system, it returns this:
A problem occurred evaluating project ':FtcRobotController'.
> java.lang.UnsupportedClassVersionError: com/android/build/gradle/LibraryPlugin : Unsupported major.minor version 52.0
What version of java is on your build server? As far as I know the:
Unsupported major.minor version 52.0 Error
Can be resolved by installing the Java 8 JDK
Edit by question poster: just add
jdk: - oraclejdk8
to the .travis.yml file right under the portion of the file where the language in specified.