Closed korchix closed 2 years ago
Try checking the build.gradle
file again, make sure the settings match the ones in the example
Hey,
The error is coming from mediation sdk.
Try adding this line in your app build.gradle
implementation 'com.ironsource.sdk:mediationsdk:7.0.4.1'
hello,
after using the plugin version flutter_ironsource_x: ^2.7.1 . when runing the app, i get the issue bellow:
here is my setup:
Flutter (Channel stable, 2.10.3, on macOS 12.2. darwin-x64) • Flutter version 2.10.3 • Upstream repository https://github.com/flutter/flutter.git • Dart version 2.16.1 • DevTools version 2.9.2
plugins used in pupspec.yaml:
`Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. /Users/korchix/AppsDevFlutter/TestApps/gameamine_new/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:19: error: cannot access InterstitialListener flutterEngine.getPlugins().add(new com.metamorfosis_labs.flutter_ironsource_x.FlutterIronsource_xPlugin()); ^ class file for com.ironsource.mediationsdk.sdk.InterstitialListener not found 1 error
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 28s Exception: Gradle task assembleDebug failed with exit code 1`