728x90
반응형

분류 전체보기 134

[React Native - android] aab, apk 파일 빌드 명령어

Google Play Console에 앱을 등록하기 위해서, keytool을 이용해 서명 후 aab 파일을 빌드 및 업로드 해야한다. keytool을 이용한 서명 방법은 아래 게시글을 참고하자.https://bocoder.tistory.com/50 [React Native - android] Google Play Store 출시를 위한 keystore 생성 및 등록개발 완료 후 Google Play Store 출시를 위해, release용 인증서를 생성하고 확인함 1. /android/app 위치에서 아래 커맨드 실행 # location : [project]/android/app $ keytool -genkeypair -v -storetype PKCS12 -keystore my-upload-key.boc..

[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 andro..

[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..

728x90
반응형