본문 바로가기

플러터(Flutter)/문제해결

A problem occurred evaluating root project ...

FAILURE: Build failed with an exception.

* Where:

Build file 'C:\Users\Dong\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_macos-0.0.1+7\android\build.gradle' line: 22

* What went wrong:

A problem occurred evaluating root project 'shared_preferences_macos'.

> Failed to apply plugin [id 'com.android.library']

> Minimum supported Gradle version is 5.4.1. Current version is 5.1.1. If using the gradle wrapper, try editing the distributionUrl in C:\Users\Dong\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_macos-0.0.1

+7\android\gradle\wrapper\gradle-wrapper.properties to gradle-5.4.1-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

BUILD FAILED in 2s

The plugin shared_preferences_macos could not be built due to the issue above.

 

 

 

blog.naver.com/chandong83/221933685018

 

Minimum supported Gradle version is 5.4.1. Current version is 5.1.1. If using the gradle wrapper...

플러터(Flutter) 프로젝트를 출시 버전(Release Version)으로 빌드 하려는 데 아래와 같은 에러가 발생...

blog.naver.com