报错信息如下:

Error building Player because scripts had compiler errors
Build completed with a result of 'Failed'
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
UnityEditor.BuildPlayerWindow+BuildMethodException: Error building Player because scripts had compiler 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)

没有其他的,也没有定位到,报错的文件。

需要查看C:\Users\XXXX\AppData\Local\Unity\Editor文件下的Editor.log文件。

有详细的报错信息。

我这里的原因是无用的头文件。如下图,删除掉,就可以打出android包来了。

最新文章

  1. Ansible简介及常用模块
  2. 数据库表结构对比同步mysqldiff
  3. python3内置函数详解
  4. Android Studio使用中的异常
  5. 蓝牙Bluetooth技术手册规范下载
  6. 引擎设计跟踪(九.14.2e) DelayLoaded DLLs (/DELAYLOAD)
  7. 自问自答-hadoop自带哪些案例(0.20.2)
  8. 武汉科技大学ACM:1004: Lake and Island
  9. js模态窗口
  10. Oracle Day07 PL/SQL基础
  11. JAVA: List用法
  12. C++中宽字符类型(wchar_t)的编码
  13. SpringMVC使用Redis作为缓存提供者
  14. centos下配置DNS
  15. POJ 1655 Balancing Act (求树的重心)【树形DP】(经典)
  16. java骰子求和算法
  17. Linux内核分析——构造一个简单的Linux系统MenuOS
  18. 转:如何编译delta3d
  19. 接口测试 mock server 工具moco
  20. mysql状态查看 QPS/TPS/缓存命中率查看【转】

热门文章

  1. cximage函数总结(拷贝)
  2. observObservableCollection改变model属性UI不更新
  3. HTML元素关系与CSS初步了解
  4. javascript的属性描述符
  5. codeforce A. Many Equal Substrings
  6. VUE学习-表单输入绑定
  7. python requests库从接口get数据报错Max retries exceeded with url解决方式记录
  8. 题解[LuoguP5591]小猪佩奇学数学
  9. Vuex扫描自定义文件夹下的所有文件
  10. keeplive 双击热备方案 (对haproxy负载均衡 )双击热备方案