pavelzaichyk / flutter_unity_ads

Unity Ads plugin for Flutter Applications. This plugin is able to display Unity Banner Ads and Unity Video Ads.
https://pub.dev/packages/unity_ads_plugin
MIT License
32 stars 13 forks source link

Could not resolve io.insert-koin:koin-bom:3.5.3 - BUG #53

Closed fsmdeveloper closed 5 months ago

fsmdeveloper commented 6 months ago

Flutter SDK version: 3.22.0

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not resolve io.insert-koin:koin-bom:3.5.3. Required by: project :app project :app > project :unity_ads_plugin > com.unity3d.ads:unity-ads:4.11.2 No matching variant of io.insert-koin:koin-bom:3.5.3 was found. The consumer was configured to find a library for use during runtime, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.3.0', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:

iZenrix commented 6 months ago

Same issue

cts-cts commented 6 months ago

I'm facing the same issue! please fix the issue!

iZenrix commented 6 months ago

I downgraded Gradle, and the error disappeared.

from:

android/gradle/wrapper/gradle-wrapper.properties:
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
android/build.gradle:
classpath 'com.android.tools.build:gradle:8.3.2'

to:

android/gradle/wrapper/gradle-wrapper.properties:
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
android/build.gradle:
classpath 'com.android.tools.build:gradle:8.1.3'
github-actions[bot] commented 5 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 5 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.