Home > other >  A great god for help: the Unity of 2018 packaged android appear illegal characters in path error ill
A great god for help: the Unity of 2018 packaged android appear illegal characters in path error ill

Time:09-27



ArgumentException: Illegal characters in path.
System.IO.Path.Com bine (System. String path1, System. String path2) (at & lt; F2e6809acb14476a81f399aeb800f8f2 & gt; : 0)
UnityEditor.. AndroidComponentProperties. Read (System. The String directory) (at & lt; 88 edc2c3d52c431ca64da37d556b038f & gt; : 0)
UnityEditor. Android. AndroidComponentProperties. GetPackageRevision (System. The String directory) (at & lt; 88 edc2c3d52c431ca64da37d556b038f & gt; : 0)
UnityEditor. Android. AndroidSDKTools. BuildToolsVersion () (at & lt; 88 edc2c3d52c431ca64da37d556b038f & gt; : 0)
UnityEditor. Android. PostProcessor. Tasks. CheckAndroidSDK + SDKBuildToolsDetector. GetVersion (UnityEditor. Android. AndroidSDKTools sdkTools, UnityEditor. Android. AndroidJavaTools javaTools) (at & lt; 88 edc2c3d52c431ca64da37d556b038f & gt; : 0)
UnityEditor. Android. PostProcessor. Tasks. CheckAndroidSDK + SDKComponentDetector. Detect (UnityEditor. Android. AndroidSDKTools sdkTools, UnityEditor. Android. AndroidJavaTools javaTools, System. Version minVersion, UnityEditor. Android. The PostProcessor. ProgressHandler onProgress) (at & lt; 88 edc2c3d52c431ca64da37d556b038f & gt; : 0)
UnityEditor. Android. The PostProcessor. Tasks. CheckAndroidSDK. EnsureSDKComponentVersion (UnityEditor. Android. AndroidJavaTools javaTools, System. Version minVersion, UnityEditor. Android. The PostProcessor. Tasks. CheckAndroidSDK + SDKComponentDetector detector) (at & lt; 88 edc2c3d52c431ca64da37d556b038f & gt; : 0)
UnityEditor. Android. The PostProcessor. Tasks. CheckAndroidSDK. EnsureSDKComponentVersion (UnityEditor. Android. AndroidJavaTools javaTools, System. Int32 minVersion, UnityEditor. Android. The PostProcessor. Tasks. CheckAndroidSDK + SDKComponentDetector detector) (at & lt; 88 edc2c3d52c431ca64da37d556b038f & gt; : 0)
UnityEditor. Android. The PostProcessor. Tasks. CheckAndroidSDK. Execute (UnityEditor. Android. The PostProcessor. PostProcessorContext context) (at & lt; 88 edc2c3d52c431ca64da37d556b038f & gt; : 0)
UnityEditor. Android. PostProcessor. PostProcessRunner. RunAllTasks (UnityEditor. Android. The PostProcessor. PostProcessorContext context) (at & lt; 88 edc2c3d52c431ca64da37d556b038f & gt; : 0)
UnityEditor. Android. PostProcessAndroidPlayer. PrepareForBuild (UnityEditor BuildOptions options, UnityEditor. BuildTarget target) (at & lt; 88 edc2c3d52c431ca64da37d556b038f & gt; : 0)
UnityEditor. Android. AndroidBuildPostprocessor. PrepareForBuild (UnityEditor BuildOptions options, UnityEditor. BuildTarget target) (at & lt; 88 edc2c3d52c431ca64da37d556b038f & gt; : 0)
UnityEditor. PostprocessBuildPlayer. PrepareForBuild (UnityEditor BuildOptions options, UnityEditor. BuildTargetGroup targetGroup, UnityEditor. BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer cs: 106)
UnityEngine. GUIUtility: the ProcessEvent (Int32, IntPtr)

Unity in also doesn't work, also to download the SDK, the jDK and reinstall, see the error log also seemed to android SDK packages, do not know to have a great god know or met the problem, thank you

CodePudding user response:

Is also thinking of it doesn't matter, hope everybody under the great god teach teach,,,

CodePudding user response:

1. The path don't have any Chinese characters, including path of Unity and publish
2. Open the Unity with administrator privileges, Windows will sometimes have access limit
The hope can help you
  • Related