How to determine the version of Gradle?

前端 未结 8 1441
旧巷少年郎
旧巷少年郎 2020-12-07 17:17

How can I know which version of Gradle I am using in my Android Studio? Please guide.

I want to make sure I am using Gradle version 2.2.1.

8条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-07 17:46

    I found the solution Do change in your cordovaLib file build.gradle file

    dependencies { classpath 'com.android.tools.build:gradle:3.1.0' }

    and now make changes in you,

    platforms\android\gradle\wrapper\gradle-wrapper.properties

    distributionUrl=\
    https://services.gradle.org/distributions/gradle-4.4-all.zip

    this works for.

提交回复
热议问题