gpt4 book ai didi

android - Application.Quit()导致游戏应用崩溃

转载 作者:行者123 更新时间:2023-12-03 17:11:03 31 4
gpt4 key购买 nike

Iam在我的游戏中一起使用Adcolony和Vungle时,一切正常,但是当用Application.Quit()游戏退出游戏时,关闭了游戏,但弹出了文本“不幸的应用程序崩溃”的弹出窗口。

在这里我附上了来自
“退出”是在Android执行其操作并抛出弹出窗口之后,Unity进行的最后一次调试/打印。

我需要解决该问题,请帮忙。

 03-30 17:56:35.471 26670 26684 I Unity   : Quit

03-30 17:56:35.471 26670 26684 I Unity : Stacktrace is not supported on this platform.

03-30 17:56:35.471 26670 26684 I Unity : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

03-30 17:56:35.471 26670 26684 I Unity :

03-30 17:56:35.841 2253 2253 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

03-30 17:56:35.841 2253 2253 F DEBUG : Build fingerprint: 'samsung/on7xeltedd/on7xelte:6.0.1/MMB29K/G610FDDU1AQA2:user/release-keys'

03-30 17:56:35.841 2253 2253 F DEBUG : Revision: '3'

03-30 17:56:35.841 2253 2253 F DEBUG : ABI: 'arm'

03-30 17:56:35.841 2253 2253 F DEBUG : pid: 26670, tid: 26688, name: Thread-5757 >>> com.AxisEntertainmentLTD.BabyHazelFoodTruck <<<

03-30 17:56:35.841 2253 2253 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8

03-30 17:56:35.891 2253 2253 F DEBUG : r0 00000008 r1 00000000 r2 00000000 r3 00000000

03-30 17:56:35.891 2253 2253 F DEBUG : r4 d2128e70 r5 d2128eac r6 d2128e70 r7 00000001

03-30 17:56:35.891 2253 2253 F DEBUG : r8 00000001 r9 ddbbf530 sl 00000000 fp ddbbf678

03-30 17:56:35.891 2253 2253 F DEBUG : ip 00000063 sp ddbbf4e0 lr de99ddf0 pc de99de44 cpsr 600b0010

03-30 17:56:35.891 2253 2253 F DEBUG :

03-30 17:56:35.891 2253 2253 F DEBUG : backtrace:

03-30 17:56:35.891 2253 2253 F DEBUG : #00 pc 00105e44 /data/app/com.AxisEntertainmentLTD.BabyHazelFoodTruck-1/lib/arm/libunity.so

03-30 17:56:35.891 2253 2253 F DEBUG : #01 pc 001064f0 /data/app/com.AxisEntertainmentLTD.BabyHazelFoodTruck-1/lib/arm/libunity.so

03-30 17:56:35.891 2253 2253 F DEBUG : #02 pc 00106e2c /data/app/com.AxisEntertainmentLTD.BabyHazelFoodTruck-1/lib/arm/libunity.so

03-30 17:56:35.891 2253 2253 F DEBUG : #03 pc 002deed8 /data/app/com.AxisEntertainmentLTD.BabyHazelFoodTruck-1/lib/arm/libunity.so

03-30 17:56:35.891 2253 2253 F DEBUG : #04 pc 0044bc68 /data/app/com.AxisEntertainmentLTD.BabyHazelFoodTruck-1/lib/arm/libunity.so

03-30 17:56:35.891 2253 2253 F DEBUG : #05 pc 008f5c5c /data/app/com.AxisEntertainmentLTD.BabyHazelFoodTruck-1/lib/arm/libunity.so

03-30 17:56:35.891 2253 2253 F DEBUG : #06 pc 0000fe94 <unknown>

03-30 17:56:36.001 2612 2808 W ActivityManager: Activity pause timeout for ActivityRecord{b97e3fe u0 com.AxisEntertainmentLTD.BabyHazelFoodTruck/com.unity3d.player.UnityPlayerActivity t140 f}

03-30 17:56:36.001 2612 2808 D ActivityManager: mDVFSHelper.acquire()

03-30 17:56:36.041 2612 2808 I ActivityManager: Config changes=480 {0 1.0 themeSeq = 0 showBtnBg = 0 ?mcc?mnc en_GB ldltr sw360dp w360dp h616dp 480dpi nrml long port finger -keyb/v/h -nav/h s.151}

03-30 17:56:36.221 2612 3711 D ActivityManager: post active user change for 0 fullscreen true isFloatingActivity() false isHomeActivity() true

03-30 17:56:36.251 2612 2844 D ActivityManager: mDVFSHelper.release()

03-30 17:56:36.661 2253 2253 F DEBUG :

03-30 17:56:36.661 2253 2253 F DEBUG : Tombstone written to: /data/tombstones/tombstone_02

03-30 17:56:36.661 2253 2253 E DEBUG : AM write failed: Broken pipe

03-30 17:56:36.801 2612 3470 I ActivityManager: Process com.AxisEntertainmentLTD.BabyHazelFoodTruck (pid 26670)(adj 9) has died(148,1363)

03-30 17:56:36.801 2612 3470 D ActivityManager: cleanUpApplicationRecord -- 26670

03-30 17:56:36.831 2612 3470 D ActivityManager: removeProcessNameLocked mProcessNames.remove pid=26670 ,hash=64744237 ,name=com.AxisEntertainmentLTD.BabyHazelFoodTruck

最佳答案

试试if (!Application.isEditor) System.Diagnostics.Process.GetCurrentProcess().Kill();

关于android - Application.Quit()导致游戏应用崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43122131/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com