Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I have created a React-Native project. When I run react-native run-ios, the build succeeds. But when I run react-native run-android I get this error:

* What went wrong:
Execution failed for task ':app:installDebug'.
> com.android.builder.testing.api.DeviceException: Could not create ADB Bridge. ADB location: /Applications/ADT/sdk/platform-tools/adb

Thanks in advance.

like image 864
Violetjack Avatar asked Apr 21 '16 12:04

Violetjack


3 Answers

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!

like image 154
Violetjack Avatar answered Oct 18 '22 01:10

Violetjack


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

like image 35
Rohit Jangid Avatar answered Oct 18 '22 03:10

Rohit Jangid


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

like image 2
Italo Rodrigo Avatar answered Oct 18 '22 02:10

Italo Rodrigo