티스토리 뷰

What I Learned

TIL_20230708

오베르 2023. 8. 12. 17:25

문제

리액트 네이티브 빌드가 되지 않아서 계속적으로 여러가지 버젼을 바꿔가면서 시도해봄

그래들 버젼 변경, 자바 버젼 변경, NDK 버젼 변경, 안드로이드 빌드 등 여러가지 형태의 시도를 해봄

 

해결

도움을 받아서 해결!!

 

비슷했던 이슈

https://github.com/mrousavy/react-native-mmkv/issues/280

 

리액트 네이티브 버젼 업그레이드

https://github.com/facebook/react-native/releases/tag/v0.67.0

 

해결 방법

그래들 버젼 변경

https://stackoverflow.com/questions/67782975/how-to-fix-the-module-java-base-does-not-opens-java-io-to-unnamed-module

 

How to fix the ''module java.base does not "opens java.io" to unnamed module '' error in Android Studio?

Background I started my first project in android studio to get familiar with Android programming. I am following this tutorial, in which I created a new project Empty Activity, without any change...

stackoverflow.com

https://github.com/fluttercommunity/flutter_workmanager/issues/287

 

🐞[Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io"

I have read the README I have done the setup for Android I have done the setup for iOS I have ran the sample app and it does not work there Version Technology Version Workmanager version 0.5.0-dev....

github.com

 


앱 구동 후 로컬 서버에 포트 이슈로 작동이 안됌

 

로컬 포트를 통해 접속이 가능하도록 함

리액트의 경우 아래와 같이 포트를 바꿈

adb reverse tcp:3000 tcp:3000

 

참조 :

https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=xhdtn8070&logNo=221298861210 

 

[안드로이드]adb reverse 사용법 - 로컬서버 접속하기

안녕하세요 이번 장에서는 adb reverse를 이용한 로컬서버 접속법을 알아보겠습니다. 일단 adb reverse라는...

blog.naver.com

https://stackoverflow.com/questions/34178184/react-native-not-running-on-localhost

 

React native not running on localhost

React native stopped working, whenever I run it now (no matter which project) I get the error could not connect to development server | ensure the following node server is running and available on ...

stackoverflow.com

https://stackoverflow.com/questions/67083014/connecting-to-localhost-with-react-native

 

Connecting to localhost with React Native

I'm trying to fetch an json from a locally hosted express API using a react native fetch get request. Our react native code is : useEffect(() => { fetch("http://localhost:5000/api/list...

stackoverflow.com

https://stackoverflow.com/questions/33704130/react-native-android-fetch-failing-on-connection-to-local-api

 

React Native Android Fetch failing on connection to local API

I'm using the fetch API in my react-native Android app to make requests to a local API. I usually query said API from react web apps at http://localhost:8163. I'm testing my app on my physical devi...

stackoverflow.com

 

 

 

느낀점

안되는 부분을 파고들어야 한다

생각없는 검색은 도움이 되지 않는다

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
글 보관함