统一安卓应用崩溃问题

时间:2017-12-15 06:11:14

标签: android unity3d

在我的设备应用程序完美的工作,没有崩溃,但播放商店崩溃日志显示崩溃问题和崩溃问题,如下所示。

app in unity 2017.2版

崩溃日志

LGE LG K10 LTE (m253), 1536MB RAM, Android 6.0
Report 1

java.lang.RuntimeException: 
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2434)
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2494)
  at android.app.ActivityThread.access$900 (ActivityThread.java:157)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1356)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:148)
  at android.app.ActivityThread.main (ActivityThread.java:5530)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:733)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:623)
Caused by: android.app.Fragment$InstantiationException: 
  at android.app.Fragment.instantiate (Fragment.java:628)
  at android.app.FragmentState.instantiate (Fragment.java:106)
  at android.app.FragmentManagerImpl.restoreAllState (FragmentManager.java:1858)
  at android.app.FragmentController.restoreAllState (FragmentController.java:122)
  at android.app.Activity.onCreate (Activity.java:919)
  at com.unity3d.player.UnityPlayerActivity.onCreate (Unknown Source)
  at com.unity3d.player.UnityPlayerNativeActivity.onCreate (Unknown Source)
  at android.app.Activity.performCreate (Activity.java:6272)
  at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1108)
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2387)
Caused by: java.lang.IllegalAccessException: 
  at java.lang.Class.newInstance (Native Method)
  at android.app.Fragment.instantiate (Fragment.java:613)

1 个答案:

答案 0 :(得分:0)

这是一个已知的Unity错误,正如here所述,它已在以下Unity版本中修复: 2017.3.0b8 2017.2.0p2 2017.1.2p3 5.6.4p3