250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 |
Tags
- 에러
- FreeBSD
- 인프라
- 개발기
- 퇴근길
- 연습문제
- Linux
- ubuntu
- 가상머신
- K&R
- podman
- 일상
- VMware
- C언어
- 오블완
- 객체지향프로그래밍
- 리눅스
- Flutter
- 오토바이
- VM
- virtualmachine
- 개발
- Bloc
- 티스토리챌린지
- 잡담
- 휘발류
- node.js
- DART
- 주유소
- 템플릿
Archives
- Today
- Total
그냥저냥
Dart/Flutter | Flutter support for your project's Android Gradle Plugin version (Android Gradle Plugin version 8.5.0) will soon be dropped. 에러 해결하기 본문
개발기/트러블슈팅
Dart/Flutter | Flutter support for your project's Android Gradle Plugin version (Android Gradle Plugin version 8.5.0) will soon be dropped. 에러 해결하기
sync86 2025. 8. 31. 11:45728x90
반응형
프로젝트 파일이 생성한지 오래전 파일이다. 약 2년 전에 생성한 프로젝트를 그대로 사용하고 있다. 최근에 수정사항이 생겨서 당연하다는 듯이 Flutter에서 아래와 같이 빌드 명령을 실행했다.
$ flutter build appbundle --dart-define-from-file=./env/product
참고로 API Endpoint, API 경로와 같은 정보들는 env 파일에 localhost, emulator, develop, product 이렇게 나눠놓고 관리하고 있다.
근데, 아래와 같은 경고 메시지가 보인다.
Warning: Flutter support for your project's Android Gradle Plugin version (Android Gradle Plugin version 8.5.0) 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/.../.../.../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/.../.../.../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 (1.9.23) 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/.../.../...//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/.../.../...//android/build.gradle) by the ext.kotlin_version property.
위 메시지를 없앨 수 있는 해결 방법은 아직 찾아보진 않았다. 조만간 찾아보고 업데이트를 해야겠다.
728x90
반응형