When running
react-native run-android
in my project folder, I get the following error:`
java.lang.UnsupportedClassVersionError: com/android/build/gradle/AppPlugin : Unsupported major.minor version 52.0
I've updated java to the latest version and made sure that I've got all the required build tool sdk versions installed:
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "myappId"
minSdkVersion 19
targetSdkVersion 22
versionCode 1
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}