Open singh-saheb opened 5 years ago
Launching lib/main.dart on SM A730F in debug mode... Initializing gradle... Resolving dependencies... Running Gradle task 'assembleDebug'... registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (8, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (9, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (10, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (11, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (12, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (13, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (15, 48): Unresolved reference: BinaryMessenger e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (15, 98): Unresolved reference: PlatformView e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (15, 112): Unresolved reference: MethodCallHandler e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (16, 24): Unresolved reference: MethodChannel e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (16, 40): Unresolved reference: MethodChannel e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (45, 3): 'getView' overrides nothing e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (49, 3): 'onMethodCall' overrides nothing e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (49, 35): Unresolved reference: MethodCall e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (49, 55): One type argument expected for class Result e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (57, 3): 'dispose' overrides nothing e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (4, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (5, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (6, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (7, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (9, 49): Unresolved reference: BinaryMessenger e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (9, 67): Unresolved reference: PlatformViewFactory e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (9, 87): Unresolved reference: StandardMessageCodec e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (10, 3): 'create' overrides nothing e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (10, 67): Unresolved reference: PlatformView e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (5, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (6, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (7, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (8, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (9, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (13, 31): Unresolved reference: MethodChannel e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (25, 57): Unresolved reference: MethodCallHandler e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (28, 33): Unresolved reference: Registrar e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (29, 28): Unresolved reference: MethodChannel e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (32, 33): Unresolved reference: MethodChannel e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (35, 27): Unresolved reference: MethodChannel e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (44, 3): 'onMethodCall' overrides nothing e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (44, 35): Unresolved reference: MethodCall e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (44, 55): One type argument expected for class Result e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (5, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (6, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (7, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (9, 48): Unresolved reference: PluginRegistry e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (9, 75): Unresolved reference: MethodChannel e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (13, 3): 'onMethodCall' overrides nothing e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (13, 35): Unresolved reference: MethodCall e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (13, 55): Unresolved reference: MethodChannel e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (19, 25): Unresolved reference: MethodChannel e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (8, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (9, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (10, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (12, 42): Unresolved reference: PluginRegistry e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (12, 69): Unresolved reference: MethodChannel e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (17, 27): Unresolved reference: MethodChannel e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (19, 3): 'onMethodCall' overrides nothing e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (19, 35): Unresolved reference: MethodCall e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (19, 55): Unresolved reference: MethodChannel e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (25, 21): Unresolved reference: MethodChannel Finished with error: Gradle task assembleDebug failed with exit code 1
Can you add more context to this issue please. What have you tried?
i just added the plugin to my existing flutter app and these errors popped out
Any solution yet?
Launching lib/main.dart on SM A730F in debug mode... Initializing gradle... Resolving dependencies... Running Gradle task 'assembleDebug'... registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (8, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (9, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (10, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (11, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (12, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (13, 8): Unresolved reference: io e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (15, 48): Unresolved reference: BinaryMessenger e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (15, 98): Unresolved reference: PlatformView e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (15, 112): Unresolved reference: MethodCallHandler e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (16, 24): Unresolved reference: MethodChannel e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (16, 40): Unresolved reference: MethodChannel e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (45, 3): 'getView' overrides nothing e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (49, 3): 'onMethodCall' overrides nothing e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (49, 35): Unresolved reference: MethodCall e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (49, 55): One type argument expected for class Result
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBanner.kt: (57, 3): 'dispose' overrides nothing
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (4, 8): Unresolved reference: io
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (5, 8): Unresolved reference: io
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (6, 8): Unresolved reference: io
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (7, 8): Unresolved reference: io
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (9, 49): Unresolved reference: BinaryMessenger
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (9, 67): Unresolved reference: PlatformViewFactory
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (9, 87): Unresolved reference: StandardMessageCodec
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (10, 3): 'create' overrides nothing
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobBannerFactory.kt: (10, 67): Unresolved reference: PlatformView
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (5, 8): Unresolved reference: io
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (6, 8): Unresolved reference: io
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (7, 8): Unresolved reference: io
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (8, 8): Unresolved reference: io
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (9, 8): Unresolved reference: io
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (13, 31): Unresolved reference: MethodChannel
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (25, 57): Unresolved reference: MethodCallHandler
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (28, 33): Unresolved reference: Registrar
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (29, 28): Unresolved reference: MethodChannel
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (32, 33): Unresolved reference: MethodChannel
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (35, 27): Unresolved reference: MethodChannel
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (44, 3): 'onMethodCall' overrides nothing
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (44, 35): Unresolved reference: MethodCall
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobFlutterPlugin.kt: (44, 55): One type argument expected for class Result
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (5, 8): Unresolved reference: io
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (6, 8): Unresolved reference: io
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (7, 8): Unresolved reference: io
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (9, 48): Unresolved reference: PluginRegistry
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (9, 75): Unresolved reference: MethodChannel
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (13, 3): 'onMethodCall' overrides nothing
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (13, 35): Unresolved reference: MethodCall
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (13, 55): Unresolved reference: MethodChannel
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobInterstitial.kt: (19, 25): Unresolved reference: MethodChannel
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (8, 8): Unresolved reference: io
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (9, 8): Unresolved reference: io
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (10, 8): Unresolved reference: io
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (12, 42): Unresolved reference: PluginRegistry
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (12, 69): Unresolved reference: MethodChannel
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (17, 27): Unresolved reference: MethodChannel
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (19, 3): 'onMethodCall' overrides nothing
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (19, 35): Unresolved reference: MethodCall
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (19, 55): Unresolved reference: MethodChannel
e: /home/saheb/Documents/gurugrace/admob_flutter_baani/android/src/main/kotlin/baani/admob_flutter/AdmobReward.kt: (25, 21): Unresolved reference: MethodChannel
Finished with error: Gradle task assembleDebug failed with exit code 1