Android studio Can';在模拟器上调试应用程序

Android studio Can';在模拟器上调试应用程序,android-studio,Android Studio,我正在使用Android Studio 2.2.2,并在emulator Nexus_5_5_API_23上运行该应用程序 该应用程序在emulator上运行良好,但我无法在emulator上调试: 这是我的控制台日志: $adb shell am start-n “mmstart0312.com.webrtc_android/mmstart0312.com.webrtc_android.main活动” -a android.intent.action.MAIN-c android.inten

我正在使用Android Studio 2.2.2,并在emulator Nexus_5_5_API_23上运行该应用程序 该应用程序在emulator上运行良好,但我无法在emulator上调试:

这是我的控制台日志:

$adb shell am start-n “mmstart0312.com.webrtc_android/mmstart0312.com.webrtc_android.main活动” -a android.intent.action.MAIN-c android.intent.category.LAUNCHER-D等待应用程序上线: mmstart0312.com.webrtc_android.test | mmstart0312.com.webrtc_android 正在等待应用程序联机: mmstart0312.com.webrtc_android.test | mmstart0312.com.webrtc_android 正在等待应用程序联机: mmstart0312.com.webrtc_android.test | mmstart0312.com.webrtc_android


怎么了?

在Android Studio中:文件->使缓存无效/重新启动


愿代码与你同在

通过将调试器连接到Android进程一次来解决

否则,请关闭Android studio并重新打开项目。也许你能更详细一点吗?