Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/274.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# Unity:android.os.DeadObjectException,应用程序启动时崩溃_C#_Android_Unity3d - Fatal编程技术网

C# Unity:android.os.DeadObjectException,应用程序启动时崩溃

C# Unity:android.os.DeadObjectException,应用程序启动时崩溃,c#,android,unity3d,C#,Android,Unity3d,我在安卓系统的构建上遇到了一个问题。构建过程很顺利,但应用程序在启动时会立即崩溃,就我而言,我不知道为什么 它似乎不知从哪里开始,我又回到了先前的承诺&试图在没有运气的情况下构建。我还尝试从项目中删除库和其他不必要的文件夹 我正在使用Unity版本2019.1.8f1,并尝试使用2019.1.6.f1构建 问题似乎从这里开始: 2019-07-04 14:02:36.577 14403-14420/? E/CRASH: pid: 14403, tid: 14420, name: UnityMai

我在安卓系统的构建上遇到了一个问题。构建过程很顺利,但应用程序在启动时会立即崩溃,就我而言,我不知道为什么

它似乎不知从哪里开始,我又回到了先前的承诺&试图在没有运气的情况下构建。我还尝试从项目中删除库和其他不必要的文件夹

我正在使用Unity版本2019.1.8f1,并尝试使用2019.1.6.f1构建

问题似乎从这里开始:

2019-07-04 14:02:36.577 14403-14420/? E/CRASH: pid: 14403, tid: 14420, name: UnityMain  >>> com.operose.myApp <<<
 2019-07-04 14:02:36.577 3413-3413/? E/audit: type=1701 audit(1562238156.573:8057): auid=4294967295 uid=10453 gid=10453 ses=4294967295 subj=u:r:untrusted_app:s0:c197,c257,c512,c768 pid=14403 comm="UnityMain" exe="/system/bin/app_process64" sig=11
 2019-07-04 14:02:36.695 3829-3993/? W/InputDispatcher: channel '9d6f41b com.operose.myApp/com.unity3d.player.UnityPlayerActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9, fd=465
 2019-07-04 14:02:36.695 3829-3993/? E/InputDispatcher: channel '9d6f41b com.operose.myApp/com.unity3d.player.UnityPlayerActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
 2019-07-04 14:02:36.696 3829-4664/? I/WindowManager: WIN DEATH: Window{9d6f41b u0 com.operose.myApp/com.unity3d.player.UnityPlayerActivity}
 2019-07-04 14:02:36.696 3829-4664/? W/InputDispatcher: Attempted to unregister already unregistered input channel '9d6f41b com.operose.myApp/com.unity3d.player.UnityPlayerActivity (server)'
 2019-07-04 14:02:36.696 3829-4664/? V/WindowManager: Remove Window{9d6f41b u0 com.operose.myApp/com.unity3d.player.UnityPlayerActivity}: mSurfaceController=Surface(name=com.operose.myApp/com.unity3d.player.UnityPlayerActivity[14403])/@0x95bb7cd mAnimatingExit=false mRemoveOnExit=false mHasSurface=true surfaceShowing=true isAnimationSet=false app-animation=false mWillReplaceWindow=false inPendingTransaction=false mDisplayFrozen=false callers=com.android.server.wm.WindowState.access$300:280 com.android.server.wm.WindowState$DeathRecipient.binderDied:3342 android.os.BinderProxy.sendDeathNotice:1209 <bottom of call stack> <bottom of call stack> <bottom of call stack> 
 2019-07-04 14:02:36.696 3308-3308/? I/SurfaceFlinger: id=5862 Removed SurfaceView - com.operose.myApp/com.unity3d.player.UnityPlayerActivity@ccc8df6@0[14403]#0 (1/78)
 2019-07-04 14:02:36.697 3829-4664/? I/WindowManager: Destroying surface Surface(name=com.operose.myApp/com.unity3d.player.UnityPlayerActivity[14403])/@0x95bb7cd called by com.android.server.wm.WindowStateAnimator.destroySurface:1880 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:838 com.android.server.wm.WindowState.removeImmediately:2708 com.android.server.wm.WindowState.removeIfPossible:2858 com.android.server.wm.WindowState.access$300:280 com.android.server.wm.WindowState$DeathRecipient.binderDied:3342 android.os.BinderProxy.sendDeathNotice:1209 <bottom of call stack> 
 2019-07-04 14:02:36.697 3308-5213/? I/SurfaceFlinger: id=5861 Removed com.operose.myApp/com.unity3d.player.UnityPlayerActivity[14403]#0 (0/77)
 2019-07-04 14:02:36.697 3829-6506/? W/ActivityManager: Force removing ActivityRecord{7e8c8b1 u0 com.operose.myApp/com.unity3d.player.UnityPlayerActivity t6649}: app died, no saved state
 2019-07-04 14:02:36.702 3308-3343/? I/SurfaceFlinger: id=5858 Removed 9d6f41b com.operose.myApp/com.unity3d.player.UnityPlayerActivity#0 (0/75)
 2019-07-04 14:02:36.703 3829-4664/? V/WindowManager: Changing focus from Window{9d6f41b u0 com.operose.myApp/com.unity3d.player.UnityPlayerActivity} to null Callers=com.android.server.wm.WindowState.removeIfPossible:2864 com.android.server.wm.WindowState.access$300:280 com.android.server.wm.WindowState$DeathRecipient.binderDied:3342 android.os.BinderProxy.sendDeathNotice:1209 
 2019-07-04 14:02:36.705 3308-3308/? I/Layer: id=5858 onRemoved 9d6f41b com.operose.myApp/com.unity3d.player.UnityPlayerActivity#0 
 2019-07-04 14:02:36.705 3308-3308/? I/Layer: id=5861 onRemoved com.operose.myApp/com.unity3d.player.UnityPlayerActivity[14403]#0 
 2019-07-04 14:02:36.706 3308-3308/? I/Layer: id=5863 onRemoved Background for -SurfaceView - com.operose.myApp/com.unity3d.player.UnityPlayerActivity@ccc8df6@0[14403]#0 
 2019-07-04 14:02:36.707 3308-3308/? I/Layer: id=5862 onRemoved SurfaceView - com.operose.myApp/com.unity3d.player.UnityPlayerActivity@ccc8df6@0[14403]#0 
 2019-07-04 14:02:36.707 3829-6506/? I/WindowManager: Cancelling animation restarting=false, leash=null, surface=Surface(name=AppWindowToken{d12e117 token=Token{5299196 ActivityRecord{7e8c8b1 u0 com.operose.myApp/com.unity3d.player.UnityPlayerActivity t6649}}})/@0xc5cb93, parent=Surface(name=Task=6649)/@0xf15c456
 2019-07-04 14:02:36.708 3308-3343/? I/SurfaceFlinger: id=5852 Removed AppWindowToken{d12e117 token=Token{5299196 ActivityRecord{7e8c8b1 u0 com.operose.myApp/com.unity3d.player.UnityPlayerActivity t6649}}}#0 (0/74)
 2019-07-04 14:02:36.722 3308-3308/? I/Layer: id=5852 onRemoved AppWindowToken{d12e117 token=Token{5299196 ActivityRecord{7e8c8b1 u0 com.operose.myApp/com.unity3d.player.UnityPlayerActivity t6649}}}#0 
 2019-07-04 14:02:36.833 3829-3869/? D/WindowManager: reportFocusChangedSerialized, focused=false, inTouchMode=true, win=Window{9d6f41b u0 com.operose.myApp/com.unity3d.player.UnityPlayerActivity}
 2019-07-04 14:02:36.833 3829-3869/? E/WindowManager: RemoteException occurs on reporting focusChanged, w=Window{9d6f41b u0 com.operose.myApp/com.unity3d.player.UnityPlayerActivity}
     android.os.DeadObjectException
 at android.os.BinderProxy.transactNative(Native Method)
 at android.os.BinderProxy.transact(Binder.java:1143)
 at android.view.IWindow$Stub$Proxy.windowFocusChanged(IWindow.java:500)
 at com.android.server.wm.WindowState.reportFocusChangedSerialized(WindowState.java:3903)
 at com.android.server.wm.WindowManagerService$H.handleMessage(WindowManagerService.java:5426)
 at android.os.Handler.dispatchMessage(Handler.java:106)
 at android.os.Looper.loop(Looper.java:214)
 at android.os.HandlerThread.run(HandlerThread.java:65)
 at com.android.server.ServiceThread.run(ServiceThread.java:44)

2019-07-04 14:02:36.577 14403-14420/?E/CRASH:pid:14403,tid:14420,name:UnityMain>>>com.operose.myApp得到了类似的结果。找到这个了吗?这里也是。在完成Unity活动时遇到DeadObjectException