I\'m trying to compile my Android project and I\'m getting this error
[INFO] Exception in thread \"main\" java.lang.UnsupportedClassVersionError: com/android
Get this error message on the travis build server?
I fixed my travis build with buildToolsVersion "24.0.2" using this
# travis build
language: android
jdk:
- oraclejdk8
android:
components:
- tools
- build-tools-24.0.2
- android-23
- add-on
- extra
script:
- jdk_switcher use oraclejdk8
- ./gradlew assemble