-
Notifications
You must be signed in to change notification settings - Fork 479
Unable to connect to device #47
Comments
Hi @tianqing2117 this crash seems to be related to the java version being used. Could you please tell me what's the java version you are using for running your IntelliJ/Android Studion installation. I also need to know the version of the plugin being used and if there are any steps to reproduce the bug. Thanks! |
Greetings Same problem here, Im using JAVA 8 (jdk1.8.0_101) since the new Nougat release require it. Steps:
Change to JAVA 7 (jdk1.7.0_80) to try it, same steps before, similar message:
Hope to help. Android WiFi ADB: Unable to connect to device 'D2533'. Make sure that your computer and your device are connected to the same WiFi network. [UPDATE] So I was reading Switch to Sony Xperia device instead, kind of same, using JAVA8 got this message Also relevant information, I came to this plugin because despite I was able to do everything by command, after disconnecting the device it didnt work neither. I got into the terminal successfully connect to the device but then when the device was disconnected from USB the device was no longer linked to ADB (adb devices list was empty, neither working on Android Studio). |
Hi @tianqing2117 @cutiko, the log message you provide could be related to the JDK used to build the 2.3 version. I've just released a new version |
The notification showing this message |
@pedrovgs not working, complete logs below, comments added for clarification, using JAVA8 (same mentioned above).
I have done it about 4 times during the lapse of time after I got the email notification about the 2.4 version. |
@cutiko could you double check that you've installed the version 2.4? You can uninstall and install the plugin again to be sure that the version used is the last one I've just released. If the last one it's not working then try with this commands from any terminal: Connect the device to your laptop using a USB cable and then execute:
Send me the result please. |
The first time I did it, I made myself sure to verify the 2.4 version while installing the plugin (install from disk). But took the time, redownload it and reinstall it, why not? I'll be glad if I can help. First, I have to notice an incredibly unusual behaviour from adb after installing the plugin (after uninstalling it, the odd behaviour stopped). For some reason ADB is constantly trying to connect, you will see in the logs below.
Also, I maybe catch something else, while the device was connected, normal run was available in the device but wasn't connected for the plugin. You can see the screenshots below. After this I follow your instructions and try to do it using the command line. You will notice that the device list is asked three times, that is because I unplugged the device so I want to check the device was still there, it wasn't. This is what lead me to your plugin.
|
I don't understand why the plugin does not work. It's working for all the environments I have tried: Android Studio / Intelli J, different JDK installations, different devices, different Android OS, windows and OS X. This is the first time I see the plugin is not working and the user is able to connect the device using the command line. I know that some devices don't support this debug over WiFi feature, but this is not the case. As you may know, the plugin executes the same commands you are executing :S and that should work as expected. I don't know what's going on with your device and your laptop configuration. The only chance we have to fix this big in your case (when the feature is supported but the plugin does not connect the device) is to manually debug the app and check what's going on. If you could debug it that'd be great, maybe the IP obtained from the device is not correct or there is something wrong when executing adb commands. Thank you so much @cutiko! |
Thank you, and if I get any sort of clue or news I'll let you know |
I had the same problem with the most recent version 2.4 - the issue for me was that I had an active emulator in the background and that apparently confused the plugin, even though I did not connect to this thing, but the device. After I turned the emulator down, the plugin was able to make a connection. |
I can also vouch for the above solution. Having an active emulator in the background causes this problem. |
I was the same problem, with the versión 2.4 i have to close the emulator for can run the plugin |
Unable to connect to device 'erver version (32) doesn't match this client (36); killing...'. Make sure that your computer and your device are connected to the same WiFi network.
The text was updated successfully, but these errors were encountered: