adb-idea icon indicating copy to clipboard operation
adb-idea copied to clipboard

No Device found

Open brucetoo opened this issue 8 years ago • 13 comments

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.

brucetoo avatar Feb 10 '17 07:02 brucetoo

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 ?

pbreault avatar Feb 11 '17 13:02 pbreault

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.

brucetoo avatar Feb 13 '17 01:02 brucetoo

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 ?

pbreault avatar Feb 15 '17 14:02 pbreault

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.

brucetoo avatar Feb 15 '17 14:02 brucetoo

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 ?

image

pbreault avatar Feb 15 '17 15:02 pbreault

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. screen shot 2017-02-16 at 09 24 15

brucetoo avatar Feb 16 '17 01:02 brucetoo

AS2.3 Not work alert : ADB IDEA: No Device found

ycdm avatar Mar 14 '17 08:03 ycdm

@brucetoo check out new 1.4.1 version! Seems it fixed bug.

ckesc avatar Mar 16 '17 09:03 ckesc

@ckesc Android studio plugins platform is still old version.. When i install plugin from disk, Here is error tips..so weird! adb

brucetoo avatar Mar 16 '17 10:03 brucetoo

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.

pbreault avatar Mar 16 '17 13:03 pbreault

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.

AaronRietschlin avatar Nov 12 '17 00:11 AaronRietschlin

reinstall works for me, looks like this is caused with upgrade.

pcqpcq avatar Dec 13 '17 02:12 pcqpcq

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.

arpit07531 avatar Feb 14 '20 08:02 arpit07531