`
yanghaoli
  • 浏览: 284339 次
社区版块
存档分类
最新评论

Andriod you must restart adb and eclipse

 
阅读更多

今天看着视频 学习着 andriod ,启动 的时候 竟然报错

    

 

         我试了N种google来的方法,都失效,现在把我的解决方法告诉大家,希望能帮到大家。

首先,我先罗列下我搜到的方法,大家也可以尝试。

1,关闭eclipse并在进程中杀掉adb.exe,然后重启。

2,如有真机连接,拔掉真机,重复1的步骤,

3,关掉eclipse,然后在命令行运行如下命令

      adb kill-server

      adb start-server

      然后重启eclipse

还有别的类似的办法就不再这里多说了,

我的问题最根本其实是端口5037被占用,在命令行中运行netstat -a,会出现一堆东西,找找是否有关于5073端口的东西,经我验证我的是有东西的,所以我的端口被用,

但是我已经将adb.exe杀掉,所以是别的东西占用了这个端口,回忆了下,最近有什么操作和之前不同,就是用豌豆荚连了下真机,那有可能就是豌豆荚占用的,

我先关闭eclipse,我在进程中杀掉了豌豆荚,然后再重启eclipse,之后命令行执行adb reboot;出现下列情况

 

可以看出端口回来了,daemon 打开成功,而之前报错时在控制台中daemon是打开失败,现在问题基本解决了。在这里建议大家不要将豌豆荚设为开机启动。这样能减少

开发中遇到的错误。

如果有和我一样用豌豆荚安装apk的开发者遇到这样的问题可以尝试这种方法,最后我还是建议大家安装apk时还是最好用命令行push或者instal,

 其实我主张不用此类第三方软件,有时最原始的方法是最方便的。

 

     (伪原创)

3
2
分享到:
评论

相关推荐

    ADB server didn't ACK,failed to start daemon的解决方法.docx

    运行Android程序时,可能会出现 The connection to adb is down, and a severe error has occured.You must restart adb and Eclipse... 的错误

    adb 端口被占用详细解决方法

    如果出现以下问题则有可能是被占用了...You must restart adb and Eclipse. Please ensure that adb is correctly located at 'D:\Program Files\Android\android-sdk\platform-tools\adb.exe' and can be executed.

    android eclipse 运行项目报错解决

    he connection to adb is down, and a severe error has occured.[2014-01-14 21:42:11 - myBluetooth] You must restart adb and Eclipse.[2014-01-14 21:42:11 - myBluetooth] Please ensure that adb is ...

    hprof-conv.exe

    [2016-07-10 17:09:11 - QtActivity] You must restart adb and Eclipse. [2016-07-10 17:09:11 - QtActivity] Please ensure that adb is correctly located at 'D:\Android\sdk\platform-tools\adb.exe' and can ...

    Android adb 出错解决方法

    1.遇到问题描述:  ... [2012-07-18 16:18:26 - ] You must restart adb and Eclipse.  [2012-07-18 16:18:26 - ] Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\

    Android adb.exe程序启动不起来 具体解决方法

    经常遇到 Please ensure that adb is correctly located at ‘D:\java\sdk\platform-tools\adb.exe’ and can be executed. ... [2012-07-18 16:18:26 – ] You must restart adb and Eclipse. [2012-07

    m2maven is a plugin for maven

    If you are running m2eclipse 0.9.8 or 0.9.9 you must either uninstall m2eclipse from your Eclipse installation or start with a fresh installation of Eclipse. To install this plugin in the Eclipse IDE...

    m2maven 插件

    If you are running m2eclipse 0.9.8 or 0.9.9 you must either uninstall m2eclipse from your Eclipse installation or start with a fresh installation of Eclipse. To install this plugin in the Eclipse IDE...

    adb_idea-1.6.3.zip

    ADB Clear App Data and Restart ADB Start App With Debugger ADB Restart App With Debugger ADB Grant/Revoke Permissions ADB Enable/Disable Wi-Fi ADB Enable/Disable Mobile Data 内附插件官方地址便于更新。

    Super ADB Tool Reborn 1.3

    Restart ADB server with one click(一键重启adb服务) Create and export logcat to desired locations (生成或导出log到其他地址) Install a APK (安装apk) Uninstall a APK (卸载apk) Show current ADB ...

    TortoiseSVN简明教程

    详细解释了 TortoiseSVN 的安装,使用。 (语言包使用,检查修改更新锁定工作副本等)

    Eclipse反编译插件 JD-Eclipse 含安装步骤(jd-eclipse-site-1.0.0-RC2)

    安装步骤: Download and unzip the JD-Eclipse Update Site, Launch Eclipse, Click on "Help > Install New Software...", Click on button "Add..." to add an new repository, ... and restart Eclipse.

    adb1.0.26包含fastboot.exe

    ADB,即 Android Debug Bridge,它是 Android 开发/测试人员不可替代的强大工具,也是 Android 设备玩家的好玩具。 注:有部分命令的支持情况可能与 Android 系统版本及定制 ROM 的实现有关。 基本用法 命令语法 ...

    jd-eclipse-2.0.0.zip

    jd-eclipse-site-2.0.0,Eclipse中查看class源码的插件 安装: Build or download & unzip "jd-eclipse-2.0.0.zip", Launch Eclipse, ...Click on "Help > Install New Software...", ... and restart.

    SuperADBToolReborn_1.3.0.0

    需要基于Windows and .Net Framework 3.5图形化adb工具。 The tool supports tons of functions, such as(特性): Show current attached devices(显示目前连接的设备) Upload a file to the device (adb push)...

    Eclipse全屏模式插件下载-eclipsex_fullscreen_1.0.7.jar.zip

    下载并并解压包,将里面的jar包拷到eclipse的插件(plugins)目录下,然后重启(Restart)Eclipse ,使用快捷键 " Ctrl + alt + z ",进入到Eclipse 的全屏模式。 注意:如果你启动了QQ客户端,因为QQ的热键也是 " ...

    protobuf-dt com.google.eclipse.protobuf_2.3.2.201609161849.jar

    It is also not clear when changing this option should take effect - instantly or on restart? In the end I injected in an up-to-date version of the descriptor.proto file into the plugin jar under .p2...

    vi plugin for eclipse (including license)

    vi plugin for eclipse including license, unzip the file into eclipse, restart eclipse

    eclipse查看第三方jar包源码

    2.再删除eclipse的configuration目录下org.eclipse.update文件 3.重启eclipse,点击菜单栏中File->Restart 4.下载jad的可执行文件,解压后放在某一磁盘中.链接:http://varaneckas.com/jad/ 5.打开Eclipse,prefrence...

Global site tag (gtag.js) - Google Analytics