I'm trying to build my android project, which was working until I added the google play services plugin. I have java 7 installed, do I just need to update to java 8?
Here's the error: ` Failed to compile resources with the following parameters:
-bootclasspath "C:/Users/nikol_000/AppData/Local/Android/sdk\platforms\android-24\android.jar" -d "C:\src\legionary\Temp\StagingArea\bin\classes" -source 1.6 -target 1.6 -encoding UTF-8 "android\support\v4\R.java" "com\google\android\gms\R.java" "com\google\android\gms\auth\R.java" "com\google\android\gms\auth\api\R.java" "com\google\android\gms\base\R.java" "com\google\android\gms\drive\R.java" "com\google\android\gms\games\R.java" "com\google\android\gms\nearby\R.java" "com\google\android\gms\tasks\R.java" "com\google\example\games\mainlibproj\R.java" "com\nikola\Legionary\R.java"
warning: C:\Users\nikol_000\AppData\Local\Android\sdk\platforms\android-24\android.jar(java/lang/Object.class): major version 52 is newer than 51, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: C:\Users\nikol_000\AppData\Local\Android\sdk\platforms\android-24\android.jar(java/lang/AutoCloseable.class): major version 52 is newer than 51, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
2 warnings
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
`
↧