本文介绍了错误大楼播放器 - Win32异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人请帮助,我已经在这了2天。我建立一个游戏在Unity为Android。我已经安装了Java,对环境的路径设置为程序文件垃圾桶,安装了Android SDK中像往常一样,但我不能摆脱这种错误的:

Someone please help, I've spent 2 days on this. I'm building a game in Unity for Android. I have installed Java, set the environmental path to the bin in programme files, installed Android SDK as usual BUT, I cant get rid of this error:

错误建筑球员:Win32Exception:应用程序名称=C:\\用户\\凯利的用户\\应用程序数据\\本地\\ Android的\\ Android的SDK \\构建工具\\ 23.0.1 \\ aapt.exe',命令行='包--auto -add-覆盖-v -f -m -J根-M AndroidManifest.xml中-SRES-IC:/用户/凯利的用户/应用程序数据/本地/ Android版/ Android的SDK \\ \\平台的android-23 \\的android.jar-F斌/ resources.ap_',currentDirectory所='温度/ StagingArea

Error building Player: Win32Exception: ApplicationName='C:\Users\Kelly's User\AppData\Local\Android\android-sdk\build-tools\23.0.1\aapt.exe', CommandLine='package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/Kelly's User/AppData/Local/Android/android-sdk\platforms\android-23\android.jar" -F bin/resources.ap_', CurrentDirectory='Temp/StagingArea'

我试过:


  • 复制从生成工具aapt.exe快捷方式的工具。

  • Copying the aapt.exe shortcut from build tools to tools.

安装包括Java 64和86,复制JAVA.EXE从System32下到Syswow64资料(这是我的一个教程看到它可能是或不是毫无意义的)

Installing both Java 64 and 86, copying the Java.exe from System32 to SysWOW64 (this is something I saw on a tutorial it may or not be pointless)

在SDK Manager安装API级别8+

Installing API levels 8+ on SDK Manager

在我完全失去我了,我不知道该怎么做。错误好像是问的aapt.exe文件,但我已经创建了从生成工具到工具的快捷方式。还有什么我在这里丢失?

I'm at a complete loss now, I've no idea what to do. The error seems to be asking for the aapt.exe file, but I have created a shortcut from Build Tools to Tools. What else am I missing here?

在此先感谢!

更新

也越来越这一点:
Win32Exception:应用程序名称=C:\\用户\\凯利的用户\\应用程序数据\\本地\\ Android的\\ Android的SDK \\构建工具\\ 23.0.1 \\ aapt.exe',命令行='包--auto-添加的覆盖-v - ˚F-m -J根-M AndroidManifest.xml中-SRES-IC:/用户/凯利的用户/应用程序数据/本地/ Android版/ Android的SDK \\ \\平台的android-23 \\的android.jar-F斌/resources.ap_',currentDirectory所='温度/ StagingArea
System.Diagnostics.Process.Start_noshell(System.Diagnostics.ProcessStartInfo StartInfo的,过程的System.Diagnostics.Process)
System.Diagnostics.Process.Start_common(System.Diagnostics.ProcessStartInfo StartInfo的,过程的System.Diagnostics.Process)
System.Diagnostics.Process.Start()
(包装远程-调用,以检查)的System.Diagnostics.Process:开始()
UnityEditor.Utils.Program.Start()(在C:/buildslave/unity/build/Editor/Mono/Utils/Program.cs:33)
UnityEditor.Android.Command.Run(PSI System.Diagnostics.ProcessStartInfo,UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit,System.String ERRORMSG)
UnityEditor.Android.PostProcessAndroidPlayer.Exec(System.String命令,System.String ARGS,System.String workingdir,System.String [] progress_strings,单progress_value,System.String ERRORMSG)
UnityEditor.Android.PostProcessAndroidPlayer.CompileResources(System.String stagingArea,System.String的packageName,UnityEditor.Android.AndroidLibraries androidLibraries)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcessInternal(BuildTarget目标,System.String stagingAreaData,System.String stagingArea,System.String playerPackage,System.String INSTALLPATH,System.String公司名称,产品名称System.String,BuildOptions选项)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess(BuildTarget目标,System.String stagingAreaData,System.String stagingArea,System.String playerPackage,System.String INSTALLPATH,System.String公司名称,产品名称System.String,BuildOptions选项)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess(BuildPostProcessArgs参数)
UnityEditor.PostprocessBuildPlayer.Postprocess(BuildTarget目标,System.String INSTALLPATH,System.String公司名称,产品名称System.String,的Int32宽度,高度的Int32,System.String downloadWebplayerUrl,System.String manualDownloadWebplayerUrl,BuildOptions选项,UnityEditor.RuntimeClassRegistry usedClassRegistry)(在C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
UnityEditor.HostView:OnGUI()

Also getting this:Win32Exception: ApplicationName='C:\Users\Kelly's User\AppData\Local\Android\android-sdk\build-tools\23.0.1\aapt.exe', CommandLine='package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/Kelly's User/AppData/Local/Android/android-sdk\platforms\android-23\android.jar" -F bin/resources.ap_', CurrentDirectory='Temp/StagingArea'System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process)System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process)System.Diagnostics.Process.Start ()(wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()UnityEditor.Utils.Program.Start () (at C:/buildslave/unity/build/Editor/Mono/Utils/Program.cs:33)UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)UnityEditor.Android.PostProcessAndroidPlayer.Exec (System.String command, System.String args, System.String workingdir, System.String[] progress_strings, Single progress_value, System.String errorMsg)UnityEditor.Android.PostProcessAndroidPlayer.CompileResources (System.String stagingArea, System.String packageName, UnityEditor.Android.AndroidLibraries androidLibraries)UnityEditor.Android.PostProcessAndroidPlayer.PostProcessInternal (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options)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.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args)UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)UnityEditor.HostView:OnGUI()

也越来越字笑这个烂摊子。任何想法??

Also getting this mess of words lol. Any ideas??

推荐答案

已移动SDK文件夹在C盘一个简单的路径,它解决了这一问题。

Moved SDK folder to a simpler path in the C drive and it fixed the problem.

这篇关于错误大楼播放器 - Win32异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 04:25