I bought a Daydream to start Development with it. I made some builds on a friends machine with no issues but on my machine I am getting this error:
ArgumentException: Illegal characters in path.
Here is the whole log:
ArgumentException: Illegal characters in path.
System.IO.Path.Combine (System.String path1, System.String path2) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Path.cs:124)
UnityEditor.Android.AndroidSDKTools.BuildToolsExe (System.String command)
UnityEditor.Android.AndroidSDKTools.get_AAPT ()
UnityEditor.Android.AndroidSDKTools.DumpDiagnostics ()
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSdk.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessAndroidPlayer.PrepareForBuild (BuildOptions options, BuildTarget target)
UnityEditor.Android.AndroidBuildPostprocessor.PrepareForBuild (BuildOptions options, BuildTarget target)
UnityEditor.PostprocessBuildPlayer.PrepareForBuild (BuildOptions options, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:87)
UnityEditor.HostView:OnGUI()
I have spent weeks trying to figure this one out. From putting the slashes at the end of my environmental variables to following this tutorial : http://www.tallior.com/bug-hunting-unity-throws-an-argumentexception-when-building-for-android/
BUT I got new information minutes ago. If I make a build RIGHT AWAY after a system restart… it will get passed this error. Then I got an error about bundle identifiers which I know how to fix. However if I immediatly make another build, I get original error again (illegal characters in path). Can anyone please help me, I am starting to feel I wasted over money building this phone if I cant make builds on it.