【发布时间】:2018-11-03 02:25:48
【问题描述】:
新手警告。我刚刚安装了 Android Studio,我正在尝试按照“构建您的第一个应用程序”教程进行操作。我创建了项目并试图运行。我创建了一个 VM,但随后无法在“选择部署目标”屏幕中看到它。请注意,我可以在 AVD 屏幕中看到模拟器图像,因此它被创建了。好像 adb 没有启动。我可以去终端并运行 adb 并且它已安装并在我的路径上,但 Android Studio 似乎没有看到它。我从日志中得到以下信息。
7:10 PM Unable to open connection to: localhost/192.168.1.43:5037, due to: java.net.ConnectException: Operation timed out
7:10 PM Connection attempts: 6
7:11 PM Unable to open connection to: localhost/192.168.1.43:5037, due to: java.net.ConnectException: Operation timed out
7:11 PM Connection attempts: 7
7:12 PM Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running. If it's being used by something else, choose a new port number in the preferences.
7:12 PM * daemon not running; starting now at tcp:5037
7:12 PM * daemon started successfully
7:13 PM Unable to open connection to: localhost/192.168.1.43:5037, due to: java.net.ConnectException: Operation timed out
7:13 PM Connection attempts: 8
我在 osx 上。
【问题讨论】:
标签: android android-studio adb