这就是控制台所说的..我试图更改sdk构建工具并将jdk更新为9,1但没有任何效果
Failed to compile resources with the following parameters:
-bootclasspath "/Users/mac/Library/Android/sdk/platforms/android-27/android.jar" -d "/Users/mac/Desktop/ReSkiN/Code Source Andriod/ZombieLand_SourceCode/Temp/StagingArea/bin/classes" -source 1.6 -target 1.6 -encoding UTF-8 "android/support/v4/R.java" "android/support/v7/cardview/R.java" "com/facebook/R.java" "com/facebook/android/R.java" "com/google/android/gms/R.java" "com/google/android/gms/ads/R.java" "com/google/android/gms/ads/impl/R.java" "com/google/android/gms/base/R.java" "com/google/android/gms/clearcut/R.java" "com/google/android/gms/gass/R.java" "com/google/android/gms/tasks/R.java" "com/google/unity/R.java" "com/ponygames/ZombieLand/R.java" "com/unity3d/ads/R.java"
warning: [options] source value 1.6 is obsolete and will be removed in a future release
warning: [options] target value 1.6 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings
UnityEditor.HostView:OnGUI()
答案 0 :(得分:1)
由于(JDK 9)而发生此错误。您应该安装最新版本的(JDK 8),这将修复它。