react-native run-android DeviceException Could not create ADB Bridge

邮差的信 提交于 2019-12-03 09:49:34
Violetjack

I have solve it, The error is because Genymotion use its own SDK not custom SDK location.I solved this question with the URL follow:

React-Native, Android, Genymotion: ADB server didn't ACK

thanks for Simon!

If you have issue while building your project using react-native run-android and build failed with an exception of not creating adb bridge.

solution:

Go to your project path or any path in command prompt and type : adb kill-server after it again build your project using react-native run-android

Press CTRL+SHIFT+ESC to open the Task Manager and delete the ADB.EXE process

If you are using your device over usb for development then it is an error of your adb path.. set the path to D:\Android\sdk\platform-tools... in pc properties->advanced settings->environment variables->system variables..it worked for me.

1.Go to android sdk path => c:\User\AppData\Local\Android\Sdk\platform-tools 2.Enter adb kill-sever && adb start-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!