Я установил инструменты командной строки (commandlinetools- linux -6200805_latest.zip) Android Studio, и я хочу обновить версию Gradle до 6.2.
Любая идея, как я могу это сделать что?
В пользовательском интерфейсе я могу просто go Файл -> Структура проекта.
Нужен ли для этого пользовательский интерфейс?
попытался запустить: ./gradlew wrapper --gradle-version=6.2 --distribution-type=all
bash-4.2$ ./gradlew wrapper --gradle-version=6.2 --distribution-type=all
FAILURE: Build failed with an exception.
* Where:
Build file '/var/lib/jenkins/workspace/myapp/android/app/build.gradle' line: 3
* What went wrong:
An exception occurred applying plugin request [id: 'com.github.triplet.play', version: '2.7.5']
> Failed to apply plugin [class 'com.github.triplet.gradle.common.validation.RuntimeValidationPlugin']
> Gradle Play Publisher's minimum Gradle version is at least Gradle 6.2 and yours
is Gradle 5.6.4. Find the latest version at
https://github.com/gradle/gradle/releases/latest, then run
$ ./gradlew wrapper --gradle-version=$LATEST --distribution-type=ALL
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org