ReactNative Android : build error > A problem occurred starting process ‘command ‘node”

2025年2月26日

<solution 1> Stop the running Gradle daemon

https://github.com/facebook/react-native/issues/6875

cd android
./gradlew –stop

<solution 2> Open Android Studio from the Terminal to ensures it inherits the environment variables set in your shell.

open -a /Applications/Android\ Studio.app

[expo android gradle buid error] A problem occurred evaluating settings ‘android’. A problem occurred starting process ‘command ‘nod

2025年1月27日

https://stackoverflow.com/questions/47134723/how-to-fix-command-node-issue-while-building-android-app-with-react-native

open Android Studio from terminal using this command for Mac users open -a “Android Studio”

CommandError: No development build for this project is installed. Please make and install a development build on the device first.

2025年1月27日

 

https://docs.expo.dev/build/setup/

npm install -g eas-cli

 

https://docs.expo.dev/develop/development-builds/create-a-build/

npx expo install expo-dev-client

eas build –profile development –platform android

 

 

 

 

 

 

github client error: RPC failed; curl 18 transfer closed with outstanding read data remaining

2025年1月19日

https://github.com/desktop/desktop/issues/18972

git config –global http.postBuffer 524288000

git config –global http.lowSpeedLimit 1000

git config –global http.lowSpeedTime 20

RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)

2025年1月5日

https://stackoverflow.com/questions/59282476/error-rpc-failed-curl-92-http-2-stream-0-was-not-closed-cleanly-protocol-erro

git config --global http.version HTTP/1.1
git config --global http.postBuffer 1048576000

https://hirosht.medium.com/git-error-rpc-failed-curl-18-transfer-closed-with-outstanding-read-data-remaining-e021c3cd2e5b

Step 1: Shallow the clone : git clone <Repo Link> — depth 1

gh repo clone <Repo Link> -- --depth 1

Step 2: Navigate in the local repository folder

cd <repo folder>

Step 3: Enter fetch — unshallow

git fetch –unshallow

python ‘imghdr’ が見つからない

2024年12月29日

これをインストール
https://pypi.org/project/standard-imghdr/

cuda timeout

2024年12月24日

https://docs.nvidia.com/gameworks/content/developertools/desktop/timeout_detection_recovery.htm

* Nsight Monitor shoudl be started as admin
* Set TdrDelay to 10 as per mentioned

DLIB (CUDA有効) ビルドでCUDAとCUDNNのリンクエラー

2024年12月23日

CUDAとCUDNNのLIBフォルダを参照先に追加し、以下のライブラリをAdditional Dependencies に追加
cudart.lib;cublas.lib;cusolver.lib;curand.lib (in CUDA lib folder),
udnn_cnn.lib;cudnn_ops.lib;cudnn_graph.lib (in CUDNN lib folder)

*** cuDNN V5.0 OR GREATER NOT FOUND. DLIB WILL NOT USE CUDA. ***

2024年12月23日

https://github.com/davisking/dlib/issues/2108

CUDNNをインストールした後、ライブラリとヘッダファイルをCUDAのフォルダにコピーすると回避できる
例えば
C:\Program Files\NVIDIA\CUDNN\v9.6\include\12.6\*.h –> C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\include
C:\Program Files\NVIDIA\CUDNN\v9.6\lib\12.6\x64\*.lib –> C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\lib\x64

Android Studio でリモートデバッグのデバイスを追加(Pair New Device Over Wifi)できない

2024年12月13日

Problem with pairing device using wifi in android studio – Stack Overflow

adb をパスに追加する。(%ANDROID_HOME%\platform-tools、または %ANDROID_SDK_ROOT%\platform-tools、例えば C:\Users\<ユーザー名>\AppData\Local\Android\Sdk\platform-tools)

Explorerを再起動してAndroid Studioを開き、Android Stuidioでターミナルを開いて adb pair <ip_addr:port>