我的是win7系统 当输入adb uninstall  com.Demo2D.Demo2D
显示 waiting for device
请问这是怎么回事啊?

解决方案 »

  1.   

    adb devices看看 device 被android识别没有。或者 同时有多个device链接到电脑 (比如 已有一个device链接了同时还有一个模拟器)
      

  2.   

    adb kill-server
    adb devices 
    看有没设备,设备都没发现到....
      

  3.   

    AndroidManifest.xml里找 package="packageName"核对下,是不是包名写错了。
      

  4.   

    你好,我并有没插手机只是用的模拟机当输入adb devices后显示
    List of devices attached
    下面什么也没有是不是只有插上了“真机”后才可以用"adb uninstall com.Demo2D.Demo2D"啊?
      

  5.   

    你好,我并有没插手机只是用的模拟机当输入adb devices后显示
    List of devices attached
    下面什么也没有是不是只有插上了“真机”后才可以用"adb uninstall com.Demo2D.Demo2D"啊?
      

  6.   

    你好,我并有没插手机只是用的模拟机当输入adb devices后显示
    List of devices attached
    下面什么也没有是不是只有插上了“真机”后才可以用"adb uninstall com.Demo2D.Demo2D"啊?
      

  7.   

    模拟器工作正常adb devices可以看到设备名的, 模拟器正常启动了吗?
      

  8.   

    adb kill-server
    adb start-server如果adb devices看不到设备名,扔提示waiting for device的话 那要看看权限问题。 我不太清楚模拟器的使用,有没有超级用户。
      

  9.   


    模拟器一样可以执行 adb uninstall com.Demo2D.Demo2D 命令
    现在的状况是你的adb 没有和 emulator 连起来, 在确定emulator 正常启动 和 没有其他设备接入的情况下。 先关掉 ADB SERVERadb kill-server然后再尝试连接一次。adb device如果还不行,就参考下下面的做法Sometimes a kill-server won't help at my machine (WinXP). For example I can't see the emulator in the DDMS-View any more or I do see it but no processes running on it.In these cases I close the emulator and eclipse and manually kill the adb.exe-process from the process list.When I then restart eclipse and the emulator, everything's fine again.Now I just need a keyboard-shortcut for that :-)
      

  10.   

    重启电脑,重启模拟器,然后adb devices
      

  11.   

    启动了模拟器
    然后输入 adb devices
    看看List of devices attached下面是否有设备