陌迹 2022-01-15 21:29 采纳率: 100%
浏览 154
已结题

有关unity导出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.List1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary2 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)

  • 写回答

1条回答 默认 最新

  • 陈言必行 Unity领域优质创作者 2022-01-17 09:47
    关注

    是不是在api capability level设置成了 .Net 2.0 Sub ?改成.Net 2.0或者4.x试试。

    img

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 系统已结题 1月25日
  • 已采纳回答 1月17日
  • 创建了问题 1月15日

悬赏问题

  • ¥25 关于##爬虫##的问题,如何解决?:
  • ¥15 ZABBIX6.0L连接数据库报错,如何解决?(操作系统-centos)
  • ¥15 找一位技术过硬的游戏pj程序员
  • ¥15 matlab生成电测深三层曲线模型代码
  • ¥50 随机森林与房贷信用风险模型
  • ¥50 buildozer打包kivy app失败
  • ¥30 在vs2022里运行python代码
  • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
  • ¥15 求解 yolo算法问题
  • ¥15 虚拟机打包apk出现错误