ZEGOCLOUD / zego_uikit_prebuilt_live_streaming_flutter

MIT License
5 stars 7 forks source link

Execution failed for task ':app:checkDebugDuplicateClasses'. #13

Open bawantha opened 1 month ago

bawantha commented 1 month ago

Environment

Technology Version
Flutter version
Plugin version
Android version
iOS version
macOS version
Xcode version
Google Chrome version

Device information:

Description

Expected behavior:

Current behavior:

Steps to reproduce

  1. This
  2. Than that
  3. Then

Images

Stacktrace/Logcat

FAILURE: Build failed with an exception.

BUILD FAILED in 8s Error: Gradle task assembleDebug failed with exit code 1

yoer commented 1 month ago

I cannot obtain specific issues from this information

FlutterDevloperAditi commented 3 weeks ago

i am also facing same issue i also try with lower version till zego_uikit_prebuilt_live_streaming: ^2.27.2 its also given error do you find any solution

yoer commented 3 weeks ago

i am also facing same issue i also try with lower version till zego_uikit_prebuilt_live_streaming: ^2.27.2 its also given error do you find any solution

Is there any specific error message? I have not encountered this error.

yoer commented 3 weeks ago

image

@bawantha @FlutterDevloperAditi

Please try setting these two places

yoer commented 3 weeks ago

android/app/build.gradle

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}

android/build.gradle:

buildscript {
    ext.kotlin_version = '1.8.0'
}
yoer commented 3 weeks ago

@FlutterDevloperAditi everythings fine?

joicodev commented 2 weeks ago

If you are running with the latest version of flutter and dart, then change the version of kotlin android.

  id "org.jetbrains.kotlin.android" version "1.9.21" apply false
// id "org.jetbrains.kotlin.android" version "1.7.10" apply false

route android/settings.gradle