Android studio's adb is ignored for running the android emulator -


i have react native project using expo. can run ios simulator using, works fine

npm run ios 

i have installed android studio , has required sdks , other stuff required in react native documentation. also, have installed genymotion android emulator , changed adb section custom directory android studio's director sdk is, located in (/users/robin/library/android/sdk).

however, can't run android simulator. if run command:

npm run android 

i error:

error running adb: no android device found. please connect device , follow instructions here enable usb debugging: https://developer.android.com/studio/run/device.html#developer-device-options. if using genymotion go settings -> adb, select "use custom android sdk tools", , point @ android sdk directory.

so checked adb running from:

$ adb /usr/local/bin/adb 

however, adb of android studio located in

/users/robin/library/android/sdk/platform-tools/adb 

i think android studio's adb not running emulator. doing wrong here?

i don't want admit how many hours spent on this, looks have configured correctly. (for else confused config options, see expo documentation genymotion.)

when using yarn start ios, ios simulator automatically started , app run. however, when using yarn start android, genymotion virtual device not automatically started you. so, open genymotion, , make sure have virtual device. if don't have yet, hit + icon , add one. start it. go terminal , run yarn start android.

i know question 3 weeks old able sort out, thought i'd chime in in case else runs problem.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -