Java
-
[react-native] 안드로이드 can’t not find Symbol 에러 (JSC 업데이트 방법)javascript/react-native 2018. 12. 9. 22:47
[react-native Trouble Shooting] Problem> 안드로이드에서 can’t not find Symbol 에러> mobx 라이브러리 추가한 것이 문제의 발단이었음 Solution> JSC가 예전 버전이라 에러가 나는 것 -> JSC를 업데이트해야 한다. 업데이트 하는 방법은 다음과 같다. 1. package.json에 jsc-android 추가 후 npm install 혹은 yarn 명령어로 설치 12dependencies {+ "jsc-android": "236355.x.x",cs 2. android/build.gradle에 다음 코드 추가 1234567891011121314allprojects { repositories { mavenLocal() jcenter() maven { ..
-
[react-native] Native module RNDeviceModule tried to override RNDeviceModule for module name RNDeviceInfojavascript/react-native 2018. 12. 9. 22:36
[react-native Trouble Shooting] Problem> 안드로이드 빌드할 때 다음 에러가 뜸 123456789Fatal Exception: java.lang.IllegalStateException: Native module RNDeviceModule tried to override RNDeviceModule for module name RNDeviceInfo. If this was your intention, set canOverrideExistingModule=true at com.facebook.react.NativeModuleRegistryBuilder.addNativeModule(NativeModuleRegistryBuilder.java:121) at com.facebook.re..