1.重启MAC电脑,笔者成功解决
2.如不能可尝试如下
I found the issue. See this image below:
First I select the second option, and it worked fine. But then don't know why I change to select first option. So, the debugger shows the messageWaiting for application to come online
forever. And I did not notice that, just thought another app prevent me debug or that was an issue with Android Studio 2.0.
So, just check to second option will solve my issue. Thank all.
参考地址:http://stackoverflow.com/questions/36723813/not-able-to-debug-app-on-android-device-android-studio-2-0
重新整理如下:
症状原因:其他流氓安卓相关应用连接手机 阻止了Android Studio debugger 连接手机
1.关闭安卓软件(豌豆荚等);
2.关闭android连接手机相关进程;
3.重启电脑