skip to Main Content

Flutter version 3.19.2 requires a newer version of the Kotlin Gradle plugin. /android/build.gradle: ext.kotlin_version = '<latest-version>'

I have a question about Flutter version 3.19.2. In this version, Flutter has removed the buildscript from the /android/build.gradle file: allprojects { repositories { google() mavenCentral() } } rootProject.buildDir = '../build' subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" } subprojects { project.evaluationDependsOn(':app')…

VIEW QUESTION

Android Studio – Using kotlin 1.8.22 version using command prompt , toUpperCase() and toLowerCase() not working reason

fun main() { var txt = "Hello World" println(txt.toUpperCase()) println(txt.toLowerCase()) } Error: D:kt>kotlinc Upper_Lower_case.kt Upper_Lower_case.kt:4:13: warning: 'toUpperCase(): String' is deprecated. Use uppercase() instead. println(txt.toUpperCase()) ^ Upper_Lower_case.kt:5:13: warning: 'toLowerCase(): String' is deprecated. Use lowercase() instead. println(txt.toLowerCase()) Using kotlin 1.8.22 version using…

VIEW QUESTION
Back To Top
Search