0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Reactron でうまくAndroidのログがでない場合

Posted at

Reactronは 9090 ポートで待っているのでバインドします。

 adb reverse tcp:9090 tcp:9090

ログを出力する方法

react-native log-android

Androidでログを出力する

adb logcat

複数の端末を起動している場合

adb devices
List of devices attached
192.168.XX.XXX:5555 device
192.168.XX.XXX:5555 device
192.168.XX.XXX:5555 device

端末を指定してadbコマンドを実行する場合

adb -s 192.168.XX.XXX:5555 reverse tcp:9090 tcp:9090

のように「-s」オプションを付けます。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?