React-Native run-android on specific device

后端 未结 5 576
时光说笑
时光说笑 2021-02-01 14:13

Is it possible to use the run-android command for one specific device only?

For example, if I have three devices (or emulators) connected and I want to use

5条回答
  •  忘掉有多难
    2021-02-01 15:09

    You don't need to use run-android command to start it on specific device

    Firstly, you have to start the packager:

    ./packager/packager.sh
    

    Then just build an APK file and run it on target device. APK will connect to the build server, and fetch bundle from it automatically.

    But if it didn't happen by some reasons, click on reload button :-)

提交回复
热议问题