We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Its the only package that fails -- any clues why?
FAILURE: Build failed with an exception.
Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'compileDebugKotlin' (17).
The text was updated successfully, but these errors were encountered:
group 'com.example.flutter_callkit_incoming' version '1.0-SNAPSHOT'
buildscript { ext.kotlin_version = '2.0.10'. <<<<< change repositories { google() jcenter() }
dependencies { //classpath 'com.android.tools.build:gradle:4.1.0' //classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.android.tools.build:gradle:8.1.2' <<<<<<<<<<< change classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" }
}
rootProject.allprojects { repositories { google() jcenter() } }
apply plugin: 'com.android.library' apply plugin: 'kotlin-android'
android { compileSdk 34
if (project.android.hasProperty("namespace")) { namespace "com.hiennv.flutter_callkit_incoming" } sourceSets { main.java.srcDirs += 'src/main/kotlin' } defaultConfig { minSdk 23 targetSdk 34 consumerProguardFiles 'consumer-rules.pro' } compileOptions { <<<<<<<<< change sourceCompatibility JavaVersion.VERSION_17 <<<<<<<<<<change targetCompatibility JavaVersion.VERSION_17 <<<<<<<<<<<change }
Sorry, something went wrong.
Thank you @spich - that did it, fixed now. 😎
hello @spich i dont reallly get you
No branches or pull requests
Its the only package that fails -- any clues why?
FAILURE: Build failed with an exception.
Execution failed for task ':flutter_callkit_incoming:compileDebugKotlin'.
The text was updated successfully, but these errors were encountered: