inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

Flutter 입문 - 안드로이드, iOS 개발을 한 번에 (with Firebase)

컴파일 에러가 발생합니다

241

jasony1

작성한 질문수 2

0

안녕하세요

강의 내용 잘 따라 하다가 구글 인증 수업 이후 부터 아래 에러가 발생합니다.

Build file '/Users/Mac/AndroidStudioProjects/FlutterProject/instagram_clon/android/build.gradle' line: 35

여기는

apply plugin: 'com.android.application'

이 코드가 있습니다.

이 코드를 주석 처리하면 컴파일은 되는데, 구글 로그인 화면에서 클릭해서 처리가 않됩니다.

그리고 아래와 같은 문구 많이 생깁니다

E/MethodChannel#plugins.flutter.io/firebase_auth(11148): Failed to handle method call

.....

E/flutter (11148): #27     _dispatchPointerDataPacket (dart:ui/hooks.dart:184:5)

......

그리고 올려놓으신 전체 소스에서는 해당 코드가 않보이네요...

아래는 전체 컴파일 에러 메시지입니다.

------------------------------------------

Launching lib/main.dart on AOSP on IA Emulator in debug mode...
Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/Mac/AndroidStudioProjects/FlutterProject/instagram_clon/android/build.gradle' line: 35

* What went wrong:
A problem occurred evaluating root project 'android'.
> Failed to apply plugin [class 'org.gradle.language.base.plugins.LifecycleBasePlugin']
   > Cannot add task 'clean' as a task with that name already exists.

* 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 814ms
Exception: Gradle task assembleDebug failed with exit code 1

Flutter ios android

답변 1

0

오준석

빌드 에러 문제는 여러가지 요인이 있어서 하나하나 점검하는 방법 밖에 없어요.

https://github.com/junsuk5/flutter_insta_clon

과거 ai없을때 듣고 다시 듣는 중인데

1

55

1

40번 수업이 완료가 되지 않아요.

0

62

1

최신버전 firebase_ui_auth 할때 EmailAuthProvider 오류 잡는 방법

0

158

1

애뮬레이터로 main.dart를 실행하면 컴퓨터가 멈춥니다.

0

330

2

혹시 재촬영 계획이 있으신가요?

0

249

1

애뮬레이터 Intel HAXM 다운로드가 안돼요

0

559

2

에뮬레이터 홈화면

0

259

1

종속성 충돌 질문

0

341

1

plugin 중에서 에러 발생시 발생한 코드 위치에 바로 에러 표시해주는 기능 있을까요?

0

426

1

firebase option 오류

0

374

2

alt+enter 가 맥북에서는 option enter로 알고 있는데 단축키가 먹히지 않습니다 ㅜㅜ

0

1462

11

파이어베이스 연결시 갑자기 다른 오류가 발생했어요 ㅠㅠ

0

409

1

Failed assertion: line 246 pos 15: 'items.length >= 2': is not true.

0

1321

1

Firebase로 이메일 로그인 기능 구현

0

355

1

GridView에 데이터가 표시가 안됩니다.

0

298

1

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. 해결법을 모르겠습니다

0

6896

4

안드로이드 에뮬레이터 실행오류

1

1010

1

firebase 연동 중 오류 질문

0

468

1

05. AccountPage UI 작성강의 설명문의

0

371

1

firestore에서 List<String>을 받아오고 싶을 때

0

543

1

firebase 이메일 로그인 설정 관련 오류 문의의 건

0

1091

1

기본위젯

0

2731

1

firebase에 upload 에러가 발생했습니다

0

1284

3

디버그 서명 인증서 SHA-1가 구해지지 않습니다.

1

319

1