You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
distributionUrl=https://services.gradle.org/distributions/gradle-8.10.2-bin.zip
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "8.8.0" apply false
id "org.jetbrains.kotlin.android" version "2.0.20" apply false
id "com.google.gms.google-services" version "4.4.1" apply false
id "com.google.firebase.crashlytics" version "2.9.9" apply false
id 'com.google.firebase.firebase-perf' version '1.4.2' apply false
id 'com.android.library' version '8.8.0' apply false
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
}
100ms Flutter Version
1.10.6
Steps to reproduce
flutter run for android only
Expected results
Unable to run and take build
Code example, screenshot, or link to a repository
Code sample
Logs
Logs
warning: [options] source value 8 is obsolete and will be removed in a future releasewarning: [options] target value 8 is obsolete and will be removed in a future releasewarning: [options] To suppress warnings about obsolete options, use -Xlint:-options.3 warningsFAILURE: Build failed with an exception.* What went wrong:Execution failed for task ':hmssdk_flutter:compileDebugKotlin'.
> Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (17) and 'compileDebugKotlin' (21). Consider using JVM Toolchain: https://kotl.in/gradle/jvm/toolchain Learn more about JVM-target validation: https://kotl.in/gradle/jvm/target-validation * 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 20sRunning Gradle task 'assembleDebug'... 20.7sError: Gradle task assembleDebug failed with exit code 1
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.27.3, on macOS 15.2 24C101 darwin-arm64, locale en-US) • Flutter version 3.27.3 on channel stable at /Users/azhar/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision c519ee916e (17 hours ago), 2025-01-21 10:32:23 -0800 • Engine revision e672b006cb • Dart version 3.6.1 • DevTools version 2.40.2[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1) • Android SDK at /Users/azhar/Library/Android/sdk • Platform android-35, build-tools 35.0.1 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 21.0.4+-12422083-b607.1) • All Android licenses accepted.[✓] Xcode - develop for iOS and macOS (Xcode 16.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16C5032a • CocoaPods version 1.16.2[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome[✓] Android Studio (version 2024.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 21.0.4+-12422083-b607.1)[✓] VS Code (version 1.96.4) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension can be installed from: 🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter[✓] Connected device (6 available) • SM M325F (mobile) • RZ8T90JGB3Y • android-arm64 • Android 13 (API 33) • SM M325F (mobile) • adb-RZ8T90JGB3Y-JtJLlW._adb-tls-connect._tcp • android-arm64 • Android 13 (API 33) • QA’s iPhone (mobile) • 00008020-00050CA22284402E • ios • iOS 18.2.1 22C161 • macOS (desktop) • macos • darwin-arm64 • macOS 15.2 24C101 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.2 24C101 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 132.0.6834.83[✓] Network resources • All expected network resources are available.• No issues found!
The text was updated successfully, but these errors were encountered:
The issue is faced while taking the build for Android. This issue occurred after updating the Flutter version
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':hmssdk_flutter:compileDebugKotlin'.
Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (17) and 'compileDebugKotlin' (21).
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 20s
Running Gradle task 'assembleDebug'... 20.7s
Error: Gradle task assembleDebug failed with exit code 1
@AzharKV, I have contacted support within the dashboard, and I'm waiting for a reply. To make sure it wasn't our code, I created a new project and only added the 100ms flutter component. I get the same error message you are getting. So it is their code, not ours.
Description
Execution failed for task ':hmssdk_flutter:compileDebugKotlin'.
even added these line, facing the issue
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
distributionUrl=https://services.gradle.org/distributions/gradle-8.10.2-bin.zip
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "8.8.0" apply false
id "org.jetbrains.kotlin.android" version "2.0.20" apply false
id "com.google.gms.google-services" version "4.4.1" apply false
id "com.google.firebase.crashlytics" version "2.9.9" apply false
id 'com.google.firebase.firebase-perf' version '1.4.2' apply false
id 'com.android.library' version '8.8.0' apply false
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
}
100ms Flutter Version
1.10.6
Steps to reproduce
flutter run for android only
Expected results
Unable to run and take build
Code example, screenshot, or link to a repository
Code sample
Logs
Logs
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: