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.
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!