• Latest
  • Hot
  • Ask
  • Full Apps
  • Ui
  • Packages
Ask March 31,2022

AdListener isnt a type

I'm following this official Flutter tutorial

I wrote the same code as in the video tutorial, but when I added the AdListener inside AdState class, the Android Studio gave me an error: the AdListener isn't a type.


Solution 1: Legend5366

I followed your guide, indeed, there is no AdListener type, but I was able to solve this problem, change the version of the google_mobile_ads package to the following and it will help:

google_mobile_ads: ^0.11.0


Twitter Facebook Reddit Hacker News LinkedIn Email

Most Viewed

Netflix UI Clone Build with Flutter and BloC

GitJournal - Markdown Notes Build with Fluter

How to debug multiple widgets used the same GlobalKey

Sign in up takes so long time to load from firebase

Featured Articles

Catagories

  • Ask63292
  • Full Apps40
  • Ui5
  • Packages2
  • Game2
  • Template0
  • android
  • flutter
  • dart
  • mobile
  • flutter-layout
  • user-interface
  • animation
  • tabview
  • scoped-model
  • regex
  • list
  • filter
  • where-clause
  • authentication
  • ios
  • keyboard
  • flutter-test
  • push-notification
  • firebase-cloud-messaging
  • android-push-notification
  • flutter-dependencies
  • plugins
  • debugging
  • visual-studio-code
  • android-debug
  • vscode-debugger
  • android-studio
  • new-operator
  • folding
  • events
  • firebase
  • firebase-authentication
  • transparent
  • bottomnavigationview
  • bloc
  • hive
  • encryption
  • forms
  • stream
  • google-cloud-firestore
  • java
  • logging
  • flutter-web
  • chromebook
  • tabs
  • state
  • riverpod
  • release
  • android-emulator
  • flutter-provider
  • flutter-getx
  • state-management
  • Privacy Policy
  • Submit Project
© Copyright © All rights reserved
Licensed under cc by-sa 3.0 with attribution required.

Catagories

  • Ask
  • Full Apps
  • Ui
  • Packages

Join our Newsletter