-
카테고리
-
세부 분야
모바일 앱 개발
-
해결 여부
미해결
gradle 추가하고 아래 오류가 발행하고 있어요..
20.02.07 13:33 작성 조회수 10.5k
1
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\mskim\AndroidStudioProjects\flutter_app\flutter_app_instargram_test\android\build.gradle' line: 36
* What went wrong:
A problem occurred evaluating root project 'android'.
> Could not find method compile() for arguments [com.android.support:support-v13:28.0.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
* 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 529ms
Gradle DSL method not found: 'compile()'
Possible causes:
The project 'flutter_app_instargram_test' may be using a version of the Android Gradle plug-in that does not contain the method (e.g. 'testCompile' was added in 1.1.0).
Upgrade plugin to version 3.5.3 and sync project
The project 'flutter_app_instargram_test' may be using a version of Gradle that does not contain the method.
Gradle settings
The build file may be missing a Gradle plugin.
Apply Gradle plugin
오후 1:32:27: Task execution finished.
Flutter 입문 - 안드로이드, iOS 개발을 한 번에 (with Firebase)
Firebase와 Google 로그인 기능 구현 (22.4.1 업데이트)
강의실 바로가기
답변을 작성해보세요.
0
0
오준석
지식공유자2020.02.10
안드로이드에 build.gradle 파일은 2개가 있는데 혹시 com.android.support:support-v13:28.0. 이런 비슷한 코드가 android/build.gradle 파일에 적혀 있는지 확인 해 보시고요,
android/app/build.gradle 파일로 이동해 주셔야 합니다.
소스를 참고 해 보세요.
https://github.com/junsuk5/flutter_insta_clon
답변 2