sakebook / flutter_native_ads

Show AdMob Native Ads use PlatformView
https://pub.dev/packages/native_ads
Apache License 2.0
66 stars 32 forks source link

App Crash after add native_ads: ^0.3.0 in pubspec.yaml while opening #38

Closed sunjianan9900 closed 4 years ago

sunjianan9900 commented 4 years ago

I running my app well, no ads here, and then I add native_ads: ^0.3.0 in pubspec.yaml , run packages get ,and try rebuild my app to run. but it crash on opening , even not show the opening page.

flutter doctor -v

[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.14.6 18G95, locale zh-Hans-CN) • Flutter version 1.9.1+hotfix.6 at /Volumes/Jianan/SDK/flutter • Framework revision 68587a0916 (3 months ago), 2019-09-13 19:46:58 -0700 • Engine revision b863200c37 • Dart version 2.5.0

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Volumes/Jianan/SDK/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-29, build-tools 29.0.2 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 11.1) • Xcode at /Volumes/Jianan/APP/Xcode.app/Contents/Developer • Xcode 11.1, Build version 11A1027 • CocoaPods version 1.8.3

[✓] Android Studio (version 3.5) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 42.0.1 • Dart plugin version 191.8593 • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[!] IntelliJ IDEA Ultimate Edition (version 2018.1.5) • IntelliJ at /Applications/IntelliJ IDEA.app ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • For information about installing plugins, see https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] Connected device (1 available) • Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.0 (API 24) (emulator)

! Doctor found issues in 2 categories.

sunjianan9900 commented 4 years ago

Now delete native_ads: ^0.3.0 , running well add native_ads: ^0.3.0 , crash

sunjianan9900 commented 4 years ago

i used FirebaseAnalytics , is this matter?