Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

加载广告引起崩溃 #5

Closed
liangdas opened this issue Sep 8, 2021 · 4 comments
Closed

加载广告引起崩溃 #5

liangdas opened this issue Sep 8, 2021 · 4 comments

Comments

@liangdas
Copy link

liangdas commented Sep 8, 2021

[Error] [GDTMob:GDTNativeExpressAdImp] AppId is empty.
Unsupported value: Error Domain=GDTAdErrorDomain Code=4021 "appId 错误,未正确注册 [GDTSDKConfig registerAppId:]" UserInfo={NSLocalizedDescription=appId 错误,未正确注册 [GDTSDKConfig registerAppId:]} of type NSError
*** Assertion failure in -[FlutterStandardWriter writeValue:], FlutterStandardCodec.mm:330
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unsupported value for standard codec'
*** First throw call stack:
(0x193db186c 0x1a8d20c50 0x193cb7000 0x19504b91c 0x10cb6eb28 0x10cb6f014 0x10cb6be88 0x100f62b84 0x100f62ca0 0x10b8cff50 0x10b7b3e38 0x10b7b3ccc 0x10b7b28e8 0x10b8cfb8c 0x100f61464 0x100f60b18 0x100f5ff3c 0x100f65888 0x100f6597c 0x10c2ea298 0x10c2e57ec 0x10cb6c074 0x10c30bb78 0x10c60af5c 0x10c5aa35c 0x10c5aca14 0x193d2dfa0 0x193d2dba0 0x193d2cffc 0x193d26ee4 0x193d2621c 0x1ab82a784 0x196764fe0 0x19676a854 0x10040cc94 0x1939e66b0)
libc++abi.dylib: terminating with uncaught exception of type NSException

  • thread 模板/信息流广告曝光存在问题 #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00000001c1b28414 libsystem_kernel.dylib__pthread_kill + 8 libsystem_kernel.dylib__pthread_kill:
    -> 0x1c1b28414 <+8>: b.lo 0x1c1b28434 ; <+40>
    0x1c1b28418 <+12>: pacibsp
    0x1c1b2841c <+16>: stp x29, x30, [sp, #-0x10]!
    0x1c1b28420 <+20>: mov x29, sp
    Target 0: (Runner) stopped.
    Lost connection to device.
@gstory0404
Copy link
Owner

检查一下 FlutterTencentad.register 是否正确初始化成功?

@liangdas
Copy link
Author

liangdas commented Sep 8, 2021

是的我没有初始化,不过这样调用会引起崩溃的话不太好

@gstory0404
Copy link
Owner

最近有个版本 后续会处理

@gstory0404
Copy link
Owner

@liangdas 更新下插件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants