The following build output is received while trying to build a cordova app in VS 2017:
MSBUILD : cordova-build error : PARSE ERROR:
MSBUILD : cordova-build error : unsupported class file version 52.0
MSBUILD : cordova-build error : ...while parsing com/google/android/gms/StrictVersionMatcherPlugin.class
MSBUILD : cordova-build error : 1 error; aborting
MSBUILD : cordova-build error : Picked up _JAVA_OPTIONS: -Xmx512M
MSBUILD : cordova-build error : FAILURE: Build failed with an exception.
MSBUILD : cordova-build error : * What went wrong:
MSBUILD : cordova-build error : Execution failed for task ':transformClassesWithDexForDebug'.
MSBUILD : cordova-build error : > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files (x86)\Java\jdk1.8.0_161\bin\java.exe'' finished with non-zero exit value 1
Please comment what additional info is needed and i will edit the question.
Edit: Not solved. Would be glad to get a solution.