问题: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的钩钩去掉,重新编译就可以运行起来了。