So I want to put ads into my app. I followed the instructions from (https://developers.google.com/ad-manager/mobile-ads-sdk/flutter/banner/get-started) and added everything from the docs. When ever I run the app it stops at
Running Gradle task 'assembleDebug'... √ Built build\app\outputs\flutter-apk\app-debug.apk.
then the app crashes.
Here the pubspec, AndroidManifest and main.dart:
pubspec.yaml:
```
google_mobile_ads: ^2.3.0
AndroidManifest.xml:
<meta-dataand main.dart:
import 'package:flutter/material.dart';The app runs without the
google_mobile_ads: ^2.3.0
Others:
```
minSdkVersion 23I Tried removing each code from the docs starting from
MobileAds.instance.initialize();
and running it each time. Found out that the
google_mobile_ads: ^2.3.0
Was the one causing it.
Im new to this so any help is appreciated
Hi Shrimpu,
Thank you for reaching out to us,
With regard to your concern, since you've mentioned that you're encounter crashes on Flutter with the version 2.3.0, I would suggest to create your concern in Flutter plugin issue tracker to assist you better on the crashes that you've encountering.
Regards,
|
||||||