Unity3d 適配機型

1,爲了是更多機型可以安裝你的遊戲,Unity3d Device Filter設置:ARMv6 with VFP;java

2,華爲C8600,一運行強制中止;android

參考網址:http://forum.unity3d.com/threads/120712-HTC-wildfire-Anything-I-can-doapp

錯誤Log:oop

09-02 17:12:46.657: E/Unity(8269): CPU features not supported! (no ARMv6+ / VFP)spa

09-02 17:12:46.657: W/dalvikvm(8269): No implementation found for native Lcom/unity3d/player/UnityPlayer;.nativeFile (Ljava/lang/String;)V3d

09-02 17:12:46.657: W/dalvikvm(8269): threadid=3: thread exiting with uncaught exception (group=0x40026268)orm

09-02 17:12:46.657: E/AndroidRuntime(8269): Uncaught handler: thread main exiting due to uncaught exception遊戲

09-02 17:12:46.667: E/AndroidRuntime(8269): java.lang.UnsatisfiedLinkError: nativeFileit

09-02 17:12:46.667: E/AndroidRuntime(8269): at com.unity3d.player.UnityPlayer.nativeFile(Native Method)io

09-02 17:12:46.667: E/AndroidRuntime(8269): at com.unity3d.player.UnityPlayer.<init>(Unknown Source)

09-02 17:12:46.667: E/AndroidRuntime(8269): at com.unity3d.player.UnityPlayerActivity.onCreate(Unknown Source)

09-02 17:12:46.667: E/AndroidRuntime(8269): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)

09-02 17:12:46.667: E/AndroidRuntime(8269): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)

09-02 17:12:46.667: E/AndroidRuntime(8269): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)

09-02 17:12:46.667: E/AndroidRuntime(8269): at android.app.ActivityThread.access$2200(ActivityThread.java:119)

09-02 17:12:46.667: E/AndroidRuntime(8269): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)

09-02 17:12:46.667: E/AndroidRuntime(8269): at android.os.Handler.dispatchMessage(Handler.java:99)

09-02 17:12:46.667: E/AndroidRuntime(8269): at android.os.Looper.loop(Looper.java:123) 09-02 17:12:46.667: E/AndroidRuntime(8269): at android.app.ActivityThread.main(ActivityThread.java:4363)

09-02 17:12:46.667: E/AndroidRuntime(8269): at java.lang.reflect.Method.invokeNative(Native Method) 09-02 17:12:46.667: E/AndroidRuntime(8269): at java.lang.reflect.Method.invoke(Method.java:521)

09-02 17:12:46.667: E/AndroidRuntime(8269): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)

09-02 17:12:46.667: E/AndroidRuntime(8269): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

09-02 17:12:46.667: E/AndroidRuntime(8269): at dalvik.system.NativeStart.main(Native Method)

 

問題根結:版本不兼容

Api Compatibility Level:默認是 .NET 2.0 Subset;設置爲:.NET 2.0

Graphics Level:默認是 OpenGL ES 2.0 改成 OpenGL ES 1.x

相關文章
相關標籤/搜索