2017-10-26 1 views
0

Ich verwende Windows 10, Unity 2017.2.03f, GooglePlayGamesPlugin-0.9.41. Ich habe versucht, das herauszufinden, aber ich bin völlig am Ende. alles baut sich gut auf, bis ich das playgames plugin installiere. Ich habe mehrere Lösungen sowohl von hier als auch von der Community-Community ausprobiert, ohne Glück. Sie beheben diese Fehler, erstellen aber andere, die noch nicht in der Lage sind zu bauen. jede Hilfe bezüglich einer Lösung würde sehr geschätzt werden, danke für Ihre Zeit und Entschuldigung, wenn das eine dumme Frage ist. :)Unity, Ressourcen können nicht erstellt werden

ERROR 1:

Failed to compile resources with the following parameters: 
-bootclasspath "C:/Android/sdk\platforms\android-25\android.jar" -d "C:\Users\Galatia420\Documents\My Games\Abby's In Space\Temp\StagingArea\bin\classes" -source 1.6 -target 1.6 -encoding UTF-8 "android\support\compat\R.java" "android\support\coreui\R.java" "android\support\coreutils\R.java" "android\support\fragment\R.java" "android\support\mediacompat\R.java" "android\support\v4\R.java" "com\Galatia420Games\AbbyChroniclesAbbysInSpace\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\google\games\bridge\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 

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) 

ERROR 2:

UnityException: Resource compilation failed! 
Failed to recompile android resource files. See the Console for details. 
UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex) 
UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message) 
UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuildPointToConsole (System.String title, System.String message) 
UnityEditor.Android.PostProcessor.Tasks.BuildResources.CompileResources (UnityEditor.Android.PostProcessor.PostProcessorContext context) 
UnityEditor.Android.PostProcessor.Tasks.BuildResources.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) 
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) 
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport report) 
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args) 
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTargetGroup targetGroup, BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:271) 
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) 

ERROR 3:

Fehler Gebäude Spieler: 3 Fehler

ERROR 4:

Build co mpleted mit einem Ergebnis von 'Failed' UnityEngine.GUIUtility: Process (Int32, IntPtr)

ERROR 5:

UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors 
    at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x00207] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:172 
    at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83 
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) 

Antwort

1

Für alle, die diese findet und ein ähnliches Problem haben, fand ich die Antwort ein Problem mit JDK 9 und Einheit. Nachdem ich alles andere versucht habe, habe ich das Problem auf jdk-8u152 heruntergestuft und das Problem wurde behoben.

0

Ich bin mit jdk 8u152 und Einheit 2017.2 und das Problem besteht weiter ... das Problem kam auf, wenn ich "auto graphics api" auswähle entfernen Sie das Häkchen und wählen Sie die Grafiken api, die Sie verwenden möchten und der Fehler verschwindet ;)

Verwandte Themen