Tencent-RTC / Tencent-RTC/TUIKit_Flutter

Gradle and Kotlin warnings

Abierto Apto para principiantes
#20 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
Dart
Estrellas
16
Forks
18
Merge medio
1 d 19 min
PR fusionados (30 d)
3

Descripción

Warning: Flutter support for your project's Gradle version (8.4.0) will soon be dropped. Please upgrade your Gradle version to a version of at least 8.7.0 soon.                                                                                                                                            
Alternatively, use the flag "--android-skip-build-dependency-validation" to bypass this check.

Potential fix: Your project's gradle version is typically defined in the gradle wrapper file. By default, this can be found at /Users/sarit/fullstack/TUIKit_Flutter/chat/demo/android/gradle/wrapper/gradle-wrapper.properties.                                                                            
For more information, see https://docs.gradle.org/current/userguide/gradle_wrapper.html.

Warning: Flutter support for your project's Android Gradle Plugin version (Android Gradle Plugin version 8.1.4) will soon be dropped. Please upgrade your Android Gradle Plugin version to a version of at least Android Gradle Plugin version 8.6.0 soon.                                                  
Alternatively, use the flag "--android-skip-build-dependency-validation" to bypass this check.

Potential fix: Your project's AGP version is typically defined in the plugins block of the `settings.gradle` file (/Users/sarit/fullstack/TUIKit_Flutter/chat/demo/android/settings.gradle), by a plugin with the id of com.android.application.                                                            
If you don't see a plugins block, your project was likely created with an older template version. In this case it is most likely defined in the top-level build.gradle file (/Users/sarit/fullstack/TUIKit_Flutter/chat/demo/android/build.gradle) by the following line in the dependencies block of the buildscript: "classpath 'com.android.tools.build:gradle:<version>'".                                                                                    

Warning: Flutter support for your project's Kotlin version (2.0.20) will soon be dropped. Please upgrade your Kotlin version to a version of at least 2.1.0 soon.                                                                                                                                           
Alternatively, use the flag "--android-skip-build-dependency-validation" to bypass this check.

Potential fix: Your project's KGP version is typically defined in the plugins block of the `settings.gradle` file (/Users/sarit/fullstack/TUIKit_Flutter/chat/demo/android/settings.gradle), by a plugin with the id of org.jetbrains.kotlin.android.                                                       
If you don't see a plugins block, your project was likely created with an older template version, in which case it is most likely defined in the top-level build.gradle file (/Users/sarit/fullstack/TUIKit_Flutter/chat/demo/android/build.gradle) by the ext.kotlin_version property.                     

FYI

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Empieza por android/gradle/wrapper/gradle-wrapper.properties y android/settings.gradle, comprobando android/build.gradle si las versiones están definidas allí en su lugar. Actualiza las versiones de Gradle, Android Gradle Plugin y Kotlin a las mínimas indicadas en la advertencia; luego ejecuta la compilación de Flutter para Android correspondiente y confirma que estas advertencias ya no aparecen.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
dart, flutter, kotlin
Área
build-system, mobile
Tipo de issue
Refactorización
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Tranquilo
Claridad
Bien especificado
Aptitud para principiantes
72/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.