flutter projemde kotlin ve gradle sürümünü güncelleme
4
●88
- 17-11-2023, 12:32:19hocam hata zaten sürümden kaynaklı olduğunu biliyorum. ben sizden güncellemede yardımcı olabilir misiniz dedim. hatayı görmek istiyorsan;
FAILURE: Build failed with an exception.
* Where:
Build file 'C:UsersMertDesktopisg_yeniisgandroidappbuild.grad le' line: 2
* What went wrong:
An exception occurred applying plugin request [id: 'com.android.application']
> Failed to apply plugin 'com.android.internal.version-check'.
> Minimum supported Gradle version is 8.0. Current version is 7.5. If using the gradle wrapper, try editing the distributionUrl in C:UsersMertDesktopisg_yeniisgandroidgradlewrapperg radle-wrapper.properties to gradle-8.0-all.zip
* 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
BU�LD FAILED in 7s
Running Gradle task 'assembleDebug'... 8,3s
Exception: Gradle task assembleDebug failed with exit code 1
dogusLeader adlı üyeden alıntı: mesajı görüntüle - 17-11-2023, 15:10:18mertdesti adlı üyeden alıntı: mesajı görüntüle
projenizdeki android/gradle/wrapper dizinini açın ve gradle-wrapper.properties dosyasını bulun. Ardından dosyanın içindeki distributionUrl'i şu şekilde güncelleyip yeniden build alın hocam.
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip
- 17-11-2023, 16:30:29> Minimum supported Gradle version is 8.0. Current version is 7.5. If using the gradle wrapper, try editing the distributionUrl in C:UsersMertDesktopisg_yeniisgandroidgradlewrapperg radle-wrapper.properties to gradle-8.0-all.zipmertdesti adlı üyeden alıntı: mesajı görüntüle
Biraz hatayı okusaydınız zaten ne olduğunu bulabilirdiniz.