我只是向pubspec.yaml
添加了新的依赖项,它是firebase_admob: ^0.8.0+3
,但是添加后,我在启动时出现了应用崩溃。
这是我的其他依赖项,有什么要解决的想法吗?
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.2
shared_preferences: ^0.5.1+1
rxdart: ^0.20.0
font_awesome_flutter: ^8.2.0
geolocator: '^3.0.0'
localstorage: ^1.2.0
crypto: ^2.0.6
dio: ^2.0.0
pigment: ^1.0.3
validate: ^1.6.0
hijri: ^0.2.5
device_id: ^0.1.3
vibrate: ^0.0.4
date_format: ^1.0.5
cron: ^0.2.1
audioplayers: ^0.9.0
google_fonts_arabic: ^1.1.7
unicode: ^0.1.0
flutter_html: ^0.8.2
flutter_compass: ^0.1.0
google_sign_in: ^4.0.1+1
http: ^0.11.3+16
easy_alert: ^0.0.2
google_maps_flutter: ^0.2.0
app_settings: ^1.0.5
flutter_local_notifications: ^0.5.0
cached_network_image: ^0.6.0
firebase_admob: ^0.8.0+3
flutter_facebook_login:
git:
url: https://github.com/roughike/flutter_facebook_login
ref: e69fef3
firebase_auth: ^0.8.2
esys_flutter_share: ^0.0.9
dev_dependencies:
flutter_test:
sdk: flutter
答案 0 :(得分:1)