[에러 문]

Error: Activity class {com.example.ones_02/com.example.ones_02.LoginActivity} does not exist.

왜 갑자기 실행이 안될까...

 

검색하다가 아래의 블로그에서 해답을 얻었다. 

https://cishome.tistory.com/98

 

 

이유는 2개의 에뮬레이터에서 한번씩 실행되어서 그렇다...위에꺼  wipe Data하니 잘 됨.

 참고로 현재 API 32로 하는 중이다. 

 

 

android studio에서 에뮬레이터를 속.

 

firbase를 통해서 구글 로그인 연동을 하는데 

아래와 같이 연결이 안된다고 하며

 

 

1시간 동안 헤매다가...

 

https://stackoverflow.com/questions/50670547/android-studio-android-emulator-wifi-connected-with-no-internet

 

Android Studio - Android Emulator Wifi Connected with No Internet

I have wasted a whole day trying out different solutions floating around in SO and other place mentioned to enable wifi on the android emulator but to no avail. Can anybody help me figure out how d...

stackoverflow.com

 

이걸 따라했더니 되었다..

 

 

 


이후 firebase에 user에서 

이렇게 떠야하는데 아무것도 안뜨고.. Run에서는 v/fa inactivity disconnecting from the service 라는 오류같은 메세지가 등장했다. 

 

여러 검색을 통해서 

안드로이드 스튜디오에서 좌측 상단에 File > Invalidate Caches / Restart을 클릭하고 

기다리면 안드로이드 스튜디오가 꺼졌다가 다시 시작하면서 에러메세지가 뜨지 않고 로그인시 아래와 같은 화면이 나오고, 

firebase에서도 확인이 가능했다.

 

+ Recent posts