Flutterでfirebase_admobを使いたいのですがpubspec.yamlにfirebase_admobのパッケージを追加しただけでデバッグでアプリが起動しなくなります。
https://firebase.google.com/docs/flutter/setup
こちらを参考にfirebaseにアプリの登録は済んでおりfirebaseには接続できています。
pubspec.yaml
1name: flutter_1 2description: A new Flutter project. 3 4# The following defines the version and build number for your application. 5# A version number is three numbers separated by dots, like 1.2.43 6# followed by an optional build number separated by a +. 7# Both the version and the builder number may be overridden in flutter 8# build by specifying --build-name and --build-number, respectively. 9# Read more about versioning at semver.org. 10version: 1.0.0+1 11 12environment: 13 sdk: ">=2.0.0-dev.68.0 <3.0.0" 14 15dependencies: 16 flutter: 17 sdk: flutter 18 fluttertoast: ^2.0.9 19 firebase_core: ^0.2.5+1 20 platform: ^2.2.0 21 meta: ^1.1.6 22 mockito: ^3.0.0 23 firebase_admob: ^0.6.1+1 24 25 # The following adds the Cupertino Icons font to your application. 26 # Use with the CupertinoIcons class for iOS style icons. 27 cupertino_icons: ^0.1.2 28 29dev_dependencies: 30 flutter_test: 31 sdk: flutter
回答1件
あなたの回答
tips
プレビュー