error: RN | react native android ) Build failed with an exception. -221221

Lumpen·2022년 12월 21일
0

Error

목록 보기
26/41
> Task :app:processDevelopmentDebugGoogleServices FAILED
ReactNativeFirebase WARNING: NPM package '@react-native-firebase/auth' depends on '@react-native-firebase/app' v16.4.6 but found v16.5.0, this might cause build issues or runtime crashes.
ReactNativeFirebase WARNING: NPM package '@react-native-firebase/firestore' depends on '@react-native-firebase/app' v16.4.6 but found v16.5.0, this might cause build issues or runtime crashes.
ReactNativeFirebase WARNING: NPM package '@react-native-firebase/messaging' depends on '@react-native-firebase/app' v16.4.6 but found v16.5.0, this might cause build issues or runtime crashes.
Execution failed for task ':app:processDevelopmentDebugGoogleServices'.
> No matching client found for package name 'com.zenix.development'

firebase 연동을 위해 추가한 코드들이 에러 메시지에 보여서
설치도 다시해보고 했는데
포인트는 package name 에 있었다

com.zenix.development 는 내가 만드는 앱의 이름이 아니었고
안드로이드 스튜디오에서 전체 검색으로 해당하는 라인의 이름을 프로젝트 명으로 변경
manifest 파일 등 applicationId 여러 곳을 수정해줘야 했다

google-services.json 의 package_name과
내가 빌드할 applicationId가 맞지 않아서 발생한 에러 같음

profile
떠돌이 생활을 하는. 실업자는 아니지만, 부랑 생활을 하는

0개의 댓글