问答详情
源自:4-2 编译生成Android APK文件

导出不了apk文件。android 环境变量配置成功,JDK环境变量配置成功,显示问题?感谢老师解答

没截图,我把错误全复制到下面了。学好英语真的很重要,,根本看不懂,。。。


1.

ArgumentException: The Assembly UnityEngine.UnityAnalyticsModule is referenced by UnityEngine.StandardEvents ('Packages/com.unity.standardevents/UnityEngine.StandardEvents.dll'). But the dll is not allowed to be included or could not be found.

UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:140)

UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:180)

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


2.

Build completed with a result of 'Failed'

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


3.

UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors

  at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0020e] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:181 

  at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00065] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:88 

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


提问者:慕勒3407671 2018-05-18 19:06

个回答

  • qq_脏小孩_0
    2018-05-19 15:57:38

    https://img4.mukewang.com/5affd8a00001097f03270366.jpg

    https://img1.mukewang.com/5affd8a000011d0613240703.jpg

    我之前也报过这个错,后面是这样解决的!

    spacer.gifspacer.gif