Closed 172900 closed 1 year ago
react 0.65 version에서 jcenter()를 없애라고 해서 없앴는데, 그다음부터 경로를 못 찾더라고요
여러시도하다가, 다시 살렸더니,잘 찾네요 리액트네이티브 이놈들
저도 똑같이 네이버 sdk 경로를 찾지 못하는 오류가 발생합니다. jcenter에서 이관하면 진행할지 로컬에 추가하고 진행할지 고민 중입니다.
저도 며칠을 미루다가 이 글보고 해결했습니다.
jcenter()
추가하면서 해결했습니다.
buildscript {
ext {
buildToolsVersion = "29.0.3"
minSdkVersion = 21
compileSdkVersion = 29
targetSdkVersion = 29
ndkVersion = "20.1.5948944"
kotlinVersion = '1.3.41'
googlePlayServicesAuthVersion = "16.0.1"
}
repositories {
google()
jcenter()
}
dependencies {
classpath('com.android.tools.build:gradle:4.1.0')
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath 'com.google.gms:google-services:4.3.8'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
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://www.jitpack.io' }
maven { url 'https://devrepo.kakao.com/nexus/content/groups/public/' }
// 네이버 지도 저장소
maven {
url 'https://naver.jfrog.io/artifactory/maven/'
}
}
}
저도 똑같이 네이버 sdk 경로를 찾지 못하는 오류가 발생합니다. jcenter에서 이관하면 진행할지 로컬에 추가하고 진행할지 고민 중입니다.
혹시 로컬에 추가를 어떻게 하는지 여쭤봐도 될까요?
duplicate of #104
Version of naver-login libraries
@react-native-seoul/naver-login": "^2.1.1
0.65.1
Platforms you faced the error (IOS or Android or both?)
android
Expected behavior
npm run andorid 시에 빌드
Actual behavior
Tested environment (Emulator? Real Device?)
enulator
네이버 sdk의 경로를 못찾는 것 같은데 혹시 해결 방안이 있을까요? kakao로그인에서는 build.gradle(Project)에
을 추가해서 해결했는데 비슷한 방법으로 해결할 수 있는 방법이 있을까요?
@hyochan