728x90
1. 카카오로그인 추가하는 과정에서 생긴 오류
* What went wrong:
Execution failed for task ':react-native-firebase:javaPreCompileDebug'.
> Could not resolve all files for configuration ':react-native-firebase:debugCompileClasspath'.
> Could not find okhttp.jar (com.square
android/build.gradle 에서
allprojects {
repositories {
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url("$rootDir/../node_modules/react-native/android")
}
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
google()
jcenter()
maven { url 'https://jitpack.io' }
maven { url 'http://devrepo.kakao.com:8088/nexus/content/groups/public/' }
}
}
맨아래 kakao maven을 google보다 위에 썼더니 생긴 오류였다.
https://github.com/invertase/react-native-firebase/issues/1194
2. 라이브러리를 새로 추가해서 생기는 문제
* What went wrong:
Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:25:7-34
is also present at [:react-native-seoul_kakao-login] AndroidManifest.xml:14:9-35 value=(true).
Suggestion: add 'tools:replace="android:allowBackup"' to <application> element at AndroidManifest.xml:7:5-117 to override.
suggestions + manifest 수정
https://thisisspear.tistory.com/47
완벽한 해결법!!!!
키해시 문제
Buy Me A Coffee!
https://www.buymeacoffee.com/daheeahn
'Develop > React Native' 카테고리의 다른 글
[노마드코더] 초보자를 위한 리덕스 101 (0) | 2020.03.31 |
---|---|
[React Native] (2021 v3 업데이트) Kakao login 카카오 로그인 구현하기 (36) | 2020.03.28 |
[React Native] react-navigation **v5** type checking with typescript / 타입스크립트 타입체킹 (2) | 2020.03.28 |
[React Native] Apple Login 애플 로그인 구현하기 / Sign in with Apple (10) | 2020.03.27 |
[React Native] react-native-gesture-handler 사용법 (2) | 2020.03.27 |