启动模拟器和 Android 设备时出错

发布于 2024-10-19 08:18:16 字数 553 浏览 2 评论 0原文

您好,我是一名新的应用程序开发人员,当我尝试运行我的应用程序时,发生了以下情况...

[2011-02-24 09:33:35 - FirstImage] Android Launch!
[2011-02-24 09:33:35 - FirstImage] The connection to adb is down, and a severe error has occured.
[2011-02-24 09:33:35 - FirstImage] You must restart adb and Eclipse.
[2011-02-24 09:33:35 - FirstImage] Please ensure that adb is correctly located at 'C:\android-sdk-windows\tools\adb.exe' and can be executed.

adb 位于“C:\android-sdk-windows\tools\”,

我尝试过“ adb start-server”在运行命令中但没有用,有什么方法可以解决这个问题。

hi i am a new app developer, when i was trying to run my app the following occured...

[2011-02-24 09:33:35 - FirstImage] Android Launch!
[2011-02-24 09:33:35 - FirstImage] The connection to adb is down, and a severe error has occured.
[2011-02-24 09:33:35 - FirstImage] You must restart adb and Eclipse.
[2011-02-24 09:33:35 - FirstImage] Please ensure that adb is correctly located at 'C:\android-sdk-windows\tools\adb.exe' and can be executed.

The adb is located in "C:\android-sdk-windows\tools\"

i tried "adb start-server" in run command but no use, is there any way to solve the issue.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

诗笺 2024-10-26 08:18:16

尝试通过在命令提示符下运行命令 adb Kill-server 然后运行 ​​adb start-server 来终止 Android 调试桥 (adb)

另请确保,如果您更新了 SDK,则 adb 的路径可能是新 SDK 中的 android-sdk-windows\platform-tools。因此,只需尝试将该文件复制到 android-sdk-windows\tools 目录中即可。

Try killing the Android Debug Bridge (adb) by just running the command adb kill-server and then adb start-server on your command prompt.

Also ensure that if you have updated your SDK then path of adb may be android-sdk-windows\platform-tools in your new sdk. So just try copying that file in the android-sdk-windows\tools directory.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文