Adb failure using React-Native in Ubuntu

Asked

Viewed 152 times

0

I’m having a problem running a React-Native app on my phone.

With everything configured run

react-native start
react-native run-android

and the following error appears:

05:32:56 E/adb: adb server version (32) doesn’t match this client (39); Killing...

by what I could understand I have adb installed twice in the computer, but I can not solve the problem.

1 answer

1

I solved the problem already, if anyone else has the problem I did the following

sudo find -name adb

I saw that one of the copies was in

./usr/bin/adb

and another in the

./home//Android/Sdk/Platform-tools/adb

then copied from android folder to bin with

sudo cp ./home/<usuario>/Android/Sdk/platform-tools/adb ./usr/bin/

Browser other questions tagged

You are not signed in. Login or sign up in order to post.