zoukankan      html  css  js  c++  java
  • Failed to install *.apk on device 'emulator-5554': timeout .

     

    错误提示:

    Failed to install helloworld.apk on device 'emulator-5554': timeout

    或者

    the user data image is used

    原因:

    由于模拟器已经开启而没有关闭或者非法关闭引起的。

    解决方法:

    删除 C:Documents and SettingsAdministrator.androidavd对应版本.avd
    下所有以.lock结尾的文件夹。

    或者

    Failed to install *.apk on device *:

    timeout Launch canceled!

     还有一种办法:

    在window->preferences->Android->DDMS->ADB connection time out (ms): 


    将这个值设置的大一些,默认为5000,我设置成500000,然后就OK了。
    我有一次试N种方法都解决不了,后来就是用这个办法解决的。
     
    <!---->

    1. Cleaning the project (Project->Clean)
    2. Restarting device, Eclipse, laptop, all of the above...
    3. Moving the project to a location without spaces, according to Failed to install apk on device 'emulator-5554': timeout 

  • 相关阅读:
    Unity Shader 之 uv动画
    c++源文件后缀名问题
    Unity Shader 之 透明效果
    正则表达式
    Unity Shader基础
    Unity Shader 之 渲染流水线
    2017/11/22 Leetcode 日记
    2017/11/21 Leetcode 日记
    2017/11/13 Leetcode 日记
    2017/11/20 Leetcode 日记
  • 原文地址:https://www.cnblogs.com/sober-reflection/p/3425096.html
Copyright © 2011-2022 走看看