The following dependencies do not satisfy the required version" error in Flutter." error in Flutter. In this way, you can solve the "The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. Don't forget to replace the path with your own folder location. Use adle in Android project to manage the dependencies In Android project, we have to use and manage tons of libraries to accelerate our development. Here, flutter_sms and sms_advanced plugins are added from our download local file. Now go to the pubspec.yaml file on your project, and add this package like the below: dependencies: Now, save the adle file of the plugin folder. TO ext.kotlin_version = '1.7.10' // OR any latest version Now change the following lines: ext.kotlin_version = '1.3.50' Now, extract the zip file, and edit the folderpath/android/adle Download the ZIP file of the source code of the plugin. Project ':sms_advanced' -> :kotlin-gradle-plugin:1.3.50 Cause of Error:Ĭause 1: Your Project is using Kotlin Gradle plugin version lower than 1.3.50Ĭause 2: If this error is caused by any plugin or package used in your project as mentioned in the error message, then that plugin is using Kotlin Gradle plugin version lower than 1.3.50. The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. Project ':flutter_sms' -> :kotlin-gradle-plugin:1.3.50 The following dependencies do not satisfy the required version: See the article below: Error Message: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. In the Import Module from Gradle window, specify options for the Gradle project that you are trying to link and click OK. In the dialog that opens, select the desired adle file, and click OK. The following dependencies do not satisfy the required version" error in Flutter. In the Gradle tool window, click to attach a Gradle project. Gradle is available as a separate download, but can also be found bundled in products such as Android Studio.In this example, we are going to show you how to solve the "The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. compileSdkVersion This is used to define the API level of the app and the app can use the features of this and lower level. They allow for integration of a set of configurations and tasks into a project and can be included from a central plugin repository or custom-developed for a single project. The Module-level adle supports various build configurations like: android: This block is used for configuring the specific android build options. Plugins are a central component of Gradle. Using build variants, you can build the debug version of your product flavors during development and signed release versions of your product flavors for distribution. However, all conventions can be overridden by the project configuration if necessary. A build variant is a cross-product of build type and product flavor and is the configuration Gradle uses to build your app. Gradle offers support for all phases of a build process including compilation, verification, dependency resolving, test execution, source code generation, packaging and publishing.īecause Gradle follows a convention over configuration approach, it is possible to describe all of these build phases in short configuration files.Ĭonventions include the folder structure of the project, standard tasks and their order as well as dependency repositories. However, to make the name unique and less "diminutive" he instead chose "Gradle", taking the "G" from the use of Groovy. History Origin of the name įounder and CEO Hans Dockter has said that he originally wanted to name the project "Cradle". Gradle is distributed as Free Software under the Apache License 2.0, and was first released in 2008. The software is extensible for new features and programming languages with a plugin subsystem. It produces web-based build visualization called Gradle Build Scans. It also supports caching of build components, potentially across a shared network using the Gradle Build Cache. Incremental builds are supported by determining the parts of the build tree that are already up to date any task dependent only on those parts does not need to be re-executed. It operates based on a series of build tasks that can run serially or in parallel. Gradle was designed for multi-project builds, which can grow to be large. Gradle uses a directed acyclic graph to determine the order in which tasks can be run, through providing dependency management. Gradle builds on the concepts of Apache Ant and Apache Maven, and introduces a Groovy- and Kotlin-based domain-specific language contrasted with the XML-based project configuration used by Maven. Supported languages include Java (as well as Kotlin, Groovy, Scala), C/ C++, and JavaScript. It controls the development process in the tasks of compilation and packaging to testing, deployment, and publishing. Gradle is a build automation tool for multi-language software development.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |