開始我得到這個:ReactNative應用程序安裝成功,但是當我嘗試爲我的設備ReactNative應用它不是從WebStorm
BUILD SUCCESSFUL
Total time: 25.191 secs
This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html
Starting the app (adb shell am start -n com.neborofeed/com.neborofeed.MainActivity.../bin/sh: adb: command not found
應用程序是安裝在我的設備上,但它不會自動啓動。當我將此命令複製到終端adb shell am start -n com.neborofeed/com.neborofeed.MainActivity
時,應用程序按預期啓動。
您如何/在哪裏觸發構建?它在IDE中嗎?或者在成功運行'adb'命令的同一個shell中? – nickgraef