• 카테고리

    질문 & 답변
  • 세부 분야

    모바일 앱 개발

  • 해결 여부

    미해결

에라기 이렇게 나옵니다

20.04.03 02:23 작성 조회수 9.47k

0

Launching lib\main.dart on Android SDK built for x86 in debug mode...

Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

* Where:

Build file 'C:\Users\tprkd\AndroidStudioProjects\mrdog1_app\android\app\build.gradle' line: 24

* What went wrong:

A problem occurred evaluating project ':app'.

> Failed to apply plugin [id 'com.android.internal.version-check']

   > Minimum supported Gradle version is 5.6.4. Current version is 5.6.2. If using the gradle wrapper, try editing the distributionUrl in C:\Users\tprkd\AndroidStudioProjects\mrdog1_app\android\gradle\wrapper\gradle-wrapper.properties to gradle-5.6.4-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 788ms

Finished with error: Gradle task assembleDebug failed with exit code 1

답변 2

·

답변을 작성해보세요.

1

김진영님의 프로필

김진영

2020.08.08

동일한 에러가 발생하는데, Wrapper 폴더 자체가 없습니다;;

0

android/gradle/wrapper/gradle-wrapper.properties 파일에 distibutionUrl 에 정의된 버전이 너무 낮아서 그렇습니다.

어떤 라이브러리 때문에 최소 5.6.4 버전이어야 한다고 하네요. 다음과 같이 수정해 보세요.

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