728x90
반응형

전체 글 132

[React Native - andriud] java.io.UncheckedIOException: Could not move temporary workspace

오랜만에 앱을 새로 하나 만들어 보려고 들어왔는데, react native v0.76 빌드 시에 아래와 같은 오류가 발생했다.FAILURE: Build failed with an exception.* Where:Settings file 'E:\...\android\settings.gradle' line: 2* What went wrong:Error resolving plugin [id: 'com.facebook.react.settings']> java.io.UncheckedIOException: Could not move temporary workspace (E:\...\android\.gradle\8.10.2\dependencies-accessors\569c8b261a8a714d7731d5f56...)..

[React Native - ios/android] kakao login 구현 시 키 해시 생성

프로젝트/android/app 경로로 이동 후 아래 명령어로 키해시를 생성해 등록함 windows 환경에서 개발 시 git bash 터미널에서 진행 여러개의 키 해시를 사용할 경우 kakao에 모두 등록해야咸 $ keytool -exportcert -alias androiddebugkey -keystore debug.keystore -storepass android -keypass android | openssl sha1 -binary | openssl base64 특정 경로의 keystore 에서 key hash 추출 keytool -exportcert -alias androiddebugkey -keystore {your-key-path}/{my-app-key}.keystore -storepass an..

[React Native - android/ios] [MobX] Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed. Tried to modify: ObservableValue

mobx 버전을 5.15.4 --> 6.7.0 으로 업그레이드 했을 시 발생. @action 이 정상적으로 동작하지 않아 기존에 사용하던 로직을 모두 수정해야함 다시 5.15.4로 다운그레이드 하니 정상 동작함 * reference : https://stackoverflow.com/a/64771774/17197148

[React Native - android] crypto 기능 동작 안할 때

갑자기 잘 동작하던 crypto 기능이 동작하지 않는다면, node_moduls 을 지웠다가 설치했다가를 반복했을 경우다. 새로 설치한 node_modules 에 ./node_modules/.bin/rn-nodeify --hack --install 커맨드를 실행하면 해결. 가끔 잊어버리니 기억이 아닌 기록. $ npm i $ npm i react-native-cli -g $ ./node_modules/.bin/rn-nodeify --hack --install * reference : https://github.com/mvayngrib/rn-nodeify#rn-nodeify

[React Native - android] Execution failed for task ':app:mergeDebugNativeLibs'. > A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction > 2 files found with path 'lib/armeabi-v7a/libfbjni.so' from inputs: ...

FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:mergeDebugNativeLibs'. > A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction > 2 files found with path 'lib/armeabi-v7a/libfbjni.so' from inputs: ... Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 Warning: Mapping new ns http..

[React Native - android] Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'., js engine: v8

ERROR Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'., js engine: v8 ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bund..

[React Native - android] Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. ... react-native-firebase_app

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > Could not resolve all task depe..

728x90
반응형