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
Could not resolve all files for configuration error while setup in android · Issue #1194 · invertase/react-native-firebase
I followed all the steps as stated in the android installation guide but still, I am continuously facing this error Could not resolve all files for configuration ':react-native-firebase:debugCo...
github.com
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
[Android] Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml
Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:19:9-36 is also present at [libName:versionCode] AndroidManifest.xml:12:9-35 value=(true). Suggestio..
thisisspear.tistory.com
완벽한 해결법!!!!
키해시 문제
'Solve Problem > Troubleshooting' 카테고리의 다른 글
앱 종료 시 푸시 알림 클릭했을 때 초기 렌더링이 2번 발생하는 문제 (0) | 2020.06.15 |
---|---|
@react-navigation/routers/src/index.tsx: Unexpected token (9:12) 해결법 (0) | 2020.05.20 |
[React Native] build가 영원히 되지 않을 때 (2) | 2020.05.10 |
run-android 되지 않을 때 / Could not compile settings file /JDK 문제 (2) | 2020.03.17 |
local notification 안드로이드 알람이 멈추지 않을 때 (react-native-push-notification) (0) | 2020.03.05 |