강의

멘토링

커뮤니티

Inflearn Community Q&A

No author

This post's author information has been deleted.

Create 1:1 Chat (Android + Kotlin + Firebase)

Membership registration implementation

개복님 말씀대루 다했는데 도중에 앱이 꺼져용

Written on

·

386

0

- 개복님 수업 잘듣고 있습니다. 이번에 최신버전 설치해서
말씀하신거 따라 하구 있는데 , 오류가 뜨는건 아닌데 앱을 구동시키니 팅겨버리네요. ㅠ 로그캣에서 에러난 곳을 살펴보니
auth=firebase.auth 여기서 오류가 난거 같습니다. 말씀하신거 중에서는 apply plugin: 'com.google.gms.google-services'
한개 못했는데, 최신버전에는
plugin { id' '} 이렇게 되있는 곳에 ' com.google.gms.google-services ' 집어넣으려고 하니 오류가 떠서 못집어넣었어요. 제가 잘못생각하는 건가용 .. 개복님이 보기에 한심해보이겠지만 ㅠㅠ 도와주세용
 
관련 문의는 1:1 문의하기를 이용해주세요.
 
 
 
 
 
androidkotlinfirebase

Answer 1

1

bokchi님의 프로필 이미지
bokchi
Instructor

이 부분에 classpath를 빠뜨리신 것 같아요

 

gradle 부분이 달라서 빠뜨리신 것이면 아래 영상을 참고해서 다른 버전 안드로이드 스튜디오를 다운받아주시거나

https://www.youtube.com/watch?v=WKD2yy0Juag&t=8s

 

위의 이미지가 있는 부분에 이 코드를 추가해주세요.

 

buildscript {

 


  repositories
{

 


   
// Check that you have the following line (if not, add it):

 


    google
()  // Google's Maven repository

  }

 


  dependencies
{

 


   
...

 


   
// Add this line

 


    classpath
'com.google.gms:google-services:4.3.10'

  }

 


}

 

 

 

 

감사합니다!!! 개복님 성공했습니다!!

No author

This post's author information has been deleted.

Ask a question