Unity 编译apk启动出异常
問題:unity 編譯出來的apk,在android安裝啟動,時報以下錯誤:
07-06 20:52:48.282: E/linker(18229): load_library(linker.cpp:761): library "/data/app/com.xsj.getphoneinfo-1.apk/assets/bin/Data/Managed/UnityEngine.dll.so" not found
07-06 20:52:48.430: E/linker(18229): load_library(linker.cpp:761): library "/data/app/com.xsj.getphoneinfo-1.apk/assets/bin/Data/Managed/Assembly-CSharp.dll.so" not found
07-06 20:52:48.445: E/linker(18229): load_library(linker.cpp:761): library "/data/app/com.xsj.getphoneinfo-1.apk/assets/bin/Data/Managed/UnityEngine.UI.dll.so" not found
07-06 20:52:48.468: E/linker(18229): load_library(linker.cpp:761): library "/data/app/com.xsj.getphoneinfo-1.apk/assets/bin/Data/Managed/UnityEngine.Networking.dll.so" not found
07-06 20:52:48.604: E/linker(18229): load_library(linker.cpp:761): library "/data/app/com.xsj.getphoneinfo-1.apk/assets/bin/Data/Managed/System.Core.dll.so" not found
07-06 20:52:48.669: E/linker(18229): load_library(linker.cpp:761): library "/data/app/com.xsj.getphoneinfo-1.apk/assets/bin/Data/Managed/System.dll.so" not found
?
原因:
是由于選擇了Development Build選項,只要把Development Build的鉤鉤去掉,重新編譯就可以運行起來了。
轉載于:https://www.cnblogs.com/Martin_Q/p/5648103.html
總結
以上是生活随笔為你收集整理的Unity 编译apk启动出异常的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 前端下载二进制流文件
- 下一篇: Spring Aop面向切面编程自动注入