Try connect to Samsung Galaxy S8+ from Android Studio. After downloading SAMSUNG_USB_Driver_for_Mobile_Phones.exe from https://developer.samsung.com/mobile/android-usb-driver.html and installed, and connect S8+ with USB cable, I get error:
4:52 PM Adb connection Error:An existing connection was forcibly closed by the remote host
4:52 PM Unable to open connection to: localhost/127.0.0.1:5037, due to: java.net.ConnectException: Connection refused: connect
4:52 PM Connection attempts: 1
How do I solve the problem?
I can connect to another mobile phone: when it’s connected to computer, on the Asus mobile phone, a pop up asks “Allow connection?”. But S8+ doesn’t have any action when I connect it to computer with USB cable. I can access s8+ storage after USB cable connection, and also enable developer option.
It seems two Android phones are so different. Almost all features are different.