본문 바로가기

coding/log8

> Task :react-native-firebase_messaging:compileDebugJavaWithJavac FAILED - build.gradle (app): project.ext.envConfigFiles = [ debug: ".env", releasestaging: ".env.staging", release: ".env.production" ] buildscript { repositories { gradlePluginPortal() } dependencies { classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.12.10, 0.99.99]' } } apply plugin: "com.android.application" apply plugin: 'com.google.gms.google-services' apply plugin: 'com.onesignal.. 2021. 9. 3.
[React Native] Run custom shell script 'Bundle React Native code and images' 빌드 오류 해결 Run custom shell script 'Bundle React Native code and images' 에러가 나면서 빌드 실패... 이유가 뭔지 검색해보니까 node랑 관련이 있었다. 회사 노트북에서는 빌드가 되는데 왜 집에서는 안될까? 차이점도 생각해보니까 node 설치를 다르게 했던 것. 회사에서는 brew로 node를 설치했고, 집에서는 nvm으로 설치했는데 이 nvm 설정해주는 과정에서 bash_profile, zshrc 파일에서 경로를 커스텀해줬던 것을 인식하지 못했기 때문이다. 그래서 nvm으로 설치한 node를 지우고 brew로 설치해줘서 해결을 해줬다. $ rm -rf $NVM_DIR ~/.npm ~/.bower $ brew install node [참고 사이트] 2021. 8. 21.
[React Native] ios pod install error 리액트 네이티브 pod install 시 라이브러리가 정상적으로 설치되지 않는 현상 해결 방법: $ pod install --repo-update 라이브러리 설치 전에 강제로 실행하여 업데이트해준다. 혹은 $ pod install --clean-install 2021. 5. 26.
[React Native] :app:installDebug Failed 이슈 해결 > Task :app:installDebug FAILED 설치하려는 apk말고 동일한 이름을 가진 앱이 이미 설치되어 있는 경우 나타나는 에러 해당 앱을 삭제한 후 다시 yarn android 명령어를 실행하면 해결 된다. 2021. 5. 24.