android - ReactNative app is successfully installed but it's not started from WebStorm -


when try build reactnative app devices this:

build successful  total time: 25.191 secs  build faster, please consider using gradle daemon: https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html starting app (adb shell start -n com.neborofeed/com.neborofeed.mainactivity.../bin/sh: adb: command not found 

the app installed on device, it's not started automatically. when copy command terminal adb shell start -n com.neborofeed/com.neborofeed.mainactivity, app started expected.

it's seems script not able find adb, have added path in ~/.bash_profile or similar?

if have not try running:

echo "export path=\$path:/users/${user}/library/android/sdk/platform-tools/" >> ~/.bash_profile 

if have sdk in different directory, update path in command above.


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -