adb-idea
adb-idea copied to clipboard
No Device found
Android studio 2.2.2 Once i use Adb idea in one project, when i change to the other project, Adb idea always alert "No Device found". Although i uninstall this plugin and reinstall it.
Is it one project in particular that is broken or are you saying that if you use it in one project, the other projects that are currently running are not working?
Are the devices visible from adb devices
from the command line and from the run dialog in android studio ?
Yes, if i use it in one project, the other projects that are currently running are not working.
adb devices
command can show the connected devices, and other adb commands work well.
And is it always the same project that works and the other never work or is it whatever project you opened first that wins ?
What gradle plugin version are you using in these projects ?
It's the first opened project wins, and not work for any other project.
my local plugin is 1.4.0
the latest one. BTW, the command like adb install/uninstall package_name
still works for any projects.
I can't reproduce this on android 2.2.3 and on 2.3.0-beta4
Can you test on these versions to see if it fixes anything? And is there an error message / stacktrace in the event log ?
I update AS up to 2.2.3, and test, still only works on the first won project . Even i uninstall plugin and install again. Here are event log.
AS2.3 Not work alert : ADB IDEA: No Device found
@brucetoo check out new 1.4.1 version! Seems it fixed bug.
@ckesc Android studio plugins platform is still old version..
When i install plugin from disk, Here is error tips..so weird!
1.4.1 is a hotfix for Android studio 2.4 , it can't be installed on 2.3 and it doesn't fix the same bug. The error message is the same mainly because it's a generic error that gets handled in a top-level try/catch.
I was able to reproduce this one recently, I'll give it a shot.
Note: This was happening to me in Android Studio 3.0 for a while. I uninstalled the plugin, restarted Android Studio, reinstalled it and restarted Android Studio again. It works now.
reinstall works for me, looks like this is caused with upgrade.
its still not working for me. Whenever I start a new android studio instance, adb-idea stops working in the previously opened window. It shows this error - ADB IDEA: No Device found It never works in multiple android studio windows.