添加admob依赖项会使我的应用崩溃

时间:2019-06-18 18:19:27

标签: flutter dart admob

我试图将admob集成到我的flutter应用程序中,并且每次添加 firebase_admob: ^0.5.2个依存关系,我的应用程序崩溃了。

Launching lib/main.dart on iPhone Xʀ in debug mode... Running Xcode build... Xcode build done. 10,3s Configuring the default Firebase app... Configured the default Firebase app __FIRAPP_DEFAULT. Syncing files to device iPhone Xʀ... Lost connection to device. *** First throw call stack: ( 0 CoreFoundation 0x00000001108526fb __exceptionPreprocess + 331 1 libobjc.A.dylib 0x000000010fdfeac5 objc_exception_throw + 48 2 CoreFoundation 0x0000000110852269 -[NSException raise] + 9 3 Runner 0x0000000106bb9dd2 GADVerifyApplicationID + 148 4 Runner 0x0000000106bba967 GADVerifyApplicationID + 3113 5 libdispatch.dylib <…>

我尝试在AndroidManifest.xmlInfo.plist中更改ADMOB_APP_ID,并将依赖项的版本更改为0.9.0

谢谢。

0 个答案:

没有答案
相关问题