devtools breaking point를 잘 사용해볼것
Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported in React native
A: https://stackoverflow.com/questions/77088464/failed-to-construct-transformer-error-error0308010cdigital-envelope-routines
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0
https://stackoverflow.com/questions/51610420/deprecated-gradle-features-were-used-in-this-build-making-it-incompatible-with
react-native-calendars/src/calendar/ img/ic_calendar_arrow_left.png: Attempt to access memory outside buffer bounds
==> react-native-calendars를 지웠다가 다시 설치하니 잘 됨.
Unsupported class file major version 66"
==> JDK11버전을 설치해볼것
Failed to transform react-native-0.71.0-rc.0-debug.aar
https://github.com/facebook/react-native/issues/35210#issuecomment-1304536693
Android localhost => http://10.0.2.2:8080/ or setting - network - 세부사항 - tcp/ip - ip address를 확인해볼것
Id of type must be of type string (metro-transform-worker/src/index.js)
Keeps stopping - Requested enabled DevSupportManager, but DevSupportManagerImpl class was not found or could not be created (logical)
INSTALL_FAILED_VERSION_DOWNGRADE: Downgrade detected: Update version code 17 is older than current 19 react native
: android/app/build.gradle - versionCode를 17에서 19로 올리기!!
java.util.concurrent.ExecutionException: org.gradle.api.GradleException: Failed to install on any devices.
Could not read script 'C:\경로\node_modules\react-native-config\android\dotenv.gradle' as it does not exist.
https://github.com/CocoaPods/CocoaPods/issues/10518
REXML::ParseException - #<TypeError: wrong argument type String (expected Regexp)> pod install
https://github.com/CocoaPods/CocoaPods/issues/12407
Undefined symbols
Library-budify not found
=> https://stackoverflow.com/questions/23539147/xcode-ld-library-not-found-for-lpods 참고
1. projectname.xcworkspace를 열어보기
2. sudo gem update cocoapods && pod install
rm -rf ~/Library/Developer/Xcode/DerivedData/
rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "pwd
/Pods/"
pod update
==> 라고 하니 “module map file not found” 라고 뜸…
Rtc file not found
Podfile에서 # use_frameworks! :linkage => :static 주석처리하기
RCTAppDelegate.h file not found
Always append or prepend to the PATH variable rather than overwriting it, to ensure essential system directories remain included.
export PATH=$PATH:/some/other/directory
failed to connect to localhost/8081
Requiring unknown module "90”
Pod clean
=> 원인은 NODE_OPTIONS=—ssl-….-provider가 ~/.zshrc에 저장되어있었고, eletron이 이것을 읽지못해 생겨난 문제. ==> “NODE_OPTIONS=' ' react-devtools" 라고 터미널에 입력하니 잘 됨
=> adb reverse tcp:8097 tcp:8097 라고 하니 잘됨
=> Start debuggin을 해서 localhost:8081에 디버깅을 페이지를 열고 해보자.
=> 안되면 metro, devtools, vm다 끄고 다시 다 켜서 해보자.
-https://velog.io/@dody_/RN-%EC%97%90%EB%9F%AC%EB%85%B8%ED%8A%B8-main.jsbundle-does-not-exist-
If your current Info.plist looks like this:
CFBundleShortVersionString
1.8.6
CFBundleVersion
1
Update it to:
CFBundleShortVersionString
1.9.4
CFBundleVersion
2
Final Steps:
1. Save the changes.
2. Rebuild your app.
3. Attempt to upload the new build to the App Store again.
What is arm64 and x86?
https://www.quora.com/What-is-arm64-vs-x64
Cocopods
Dependency managers for swift and objective-c
https://singularis7.tistory.com/122
해서 keystore를 android/app에 넣기 그리고 아래 명령어 실행.
$cd android && ./gradlew bundleRelease => aab추출 android/app/build/outputs/bundle/release/app.aab처럼 파일 생성됨
* 참고로 ./gradlew assembleRelease => apk 파일 추출 android/app/build/outputs/apk/debug/app.apk 처럼 파일 생성됨
혹시 algorithm not supported 에러가 생기면 “sudo keytool -genkeypair -v -keystore budify.keystore -alias budify -keyalg RSA -keysize 2048 -validity 10000 -sigalg SHA256withRSA
“ 라고 해보기.
출처 : https://stackoverflow.com/questions/76431205/flutter-build-app-bundle-error-algorithm-hmacpbesha256-not-available
—>https://stackoverflow.com/questions/73909333/using-a-newer-android-gradle-plugin-in-react-native 참고바람
“./gradlew clean --warning-mode all” 를 입력하여 더 많은 정보를 얻어 볼 것.
물리적 디바이스에서 일어나는 로그를 알고싶으면?
$ adb logcat
파도같이 많은 로그중에 특정 로그만 알고싶으면? (ex> SecurityException이 적힌것만)
$ adb logcat | grep "SecurityException"
“INSTALL_FAILED_UPDATE_INCOMPATIBLE”
:indicates that the new APK you're trying to install has a different signing key than the previously installed version.
=> $ adb uninstall com.reactnativebudify
java.lang.RuntimeException: java.io.FileNotFoundException: /data/user/0/com.reactnativebudify/lib-0/dso_lock: open failed: EACCES (Permission denied)
: so_loader_version이 낮아서 생기는 이슈. https://github.com/facebook/SoLoader/issues/74#issuecomment-969307465 참고(shout out to hardy!)