I'm getting this error from time to time and don't know what causing this:
When trying to run/debug an Android app on a real device (Galaxy Samsung S in my case) I'm getting the following error in the Console:
Failed to install *.apk on device *: timeout
Launch canceled!
This is all the Console is telling me. LogCat doesn't provide any information. Eclipse Problems view is not showing any issues.
I tried the following steps with no success:
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
The app has been debugged in the past on that device many times (app is live on Market), but this problem happens every so often, and is VERY FRUSTRATING...
Any help would be greatly appreciated! Thanks.
1.Try changing the ADB connection timeout. I think it defaults that to 5000ms and I changed mine to 10000ms to get rid of that problem. If you are in Eclipse, you can do this by going through Window -> Preferences and then it is in DDMS under Android.
2.What I usually do when I get this error is restarting the adb
server by typing in the cmd:
adb kill-server
adb start-server
3.Reboot the phone.
分享到:
相关推荐
在Android开发过程中,经常会遇到"Error:(26, 13) Failed to resolve: com.android.support:appcompat-v7:29.+”这样的错误提示,这是由于依赖库无法正确解析导致的。该错误通常涉及到Android支持库版本不匹配或者...
二、Failed to install *.apk on device 'emulator-5554': timeout 错误 该错误是由于模拟器未关闭或非法关闭所致,解决方法是删除 C:Documents and Settings/Administrator/.android/avd 对应版本.avd 下所有以....
adb: failed to install SystemActivities.apk: Failure [INSTALL_FAILED_OLDER_SDK: Failed parse during installPackageLI: /data/app/vmdl1716187195.tmp/base.apk (at Binary XML file line #0): Requires newer...
解决fatal:remote error:You can’t push to git://github.com/username/*.git问题的办法 今天Git push的时候 fatal:remote error: You can't push to git://github.com/username/*.git Use git@github....
在Android开发过程中,可能会遇到“Caused by: android.system.ErrnoException: write failed: ENOSPC (No space left on device)”这样的错误提示。这个错误通常发生在尝试向设备写入数据时,系统报告存储空间不足...
系统环境:CentOS Linux release 7.6.1810 (Core) 起因:npm构建时报错 ... fatal: unable to access 'https://github.com/nhn/raphael.git/': Failed connect to github.com:443; Connection timed out npm
### 解决Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE 在Android应用开发过程中,开发者经常会遇到一些安装错误,其中“Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE”(安装错误:安装...
2. 安装Nginx:`sudo apt-get install nginx` 安装完成后,可以通过`systemctl start nginx`启动Nginx服务,并使用`systemctl status nginx`检查其状态。为了使Nginx在系统启动时自动启动,执行`systemctl enable ...
然而,在实际使用Glide时,有时会出现一些问题,比如"Error: Failed to resolve: com.android.support:support-annotations:26.0.2"这样的错误。这通常意味着在项目中无法找到`support-annotations`库,这是一个重要...
代码如下:failed to create jvm error code -4 这一般应是内存不够用所致,解决方法参考如下。 打开 Android Studio 安装目录下的bin目录,查找并打开文件 studio.exe.vmoptions,修改代码: 代码如下:-Xmx512m 为...
在进行Android应用开发时,可能会遇到“INSTALL_FAILED_MISSING_SHARED_LIBRARY”的错误提示。此问题通常发生在尝试安装包含特定共享库依赖的应用程序时,而这些依赖未能正确配置或存在设备上。本文将详细介绍如何...
接下来,你可以继续执行`rosdep install --from-paths src --ignore-src --rosdistro melodic -y`命令,`rosdep`应该能够根据离线包的信息安装所有必要的系统依赖。 6. **验证安装**: 完成上述步骤后,检查ROS...
解决caffe在make时出现如下错误: src/caffe/util/io.cpp:17:10: fatal ...Makefile:610: recipe for target '.build_release/src/caffe/util/io.o' failed make: *** [.build_release/src/caffe/util/io.o] Error 1
在进行Ubuntu 64位系统下Android源代码的编译过程中,可能会遭遇一系列技术障碍,以下将详述在Ubuntu 11.04(64位)编译Android 2.3源码时常见的错误及其解决方案,以帮助开发者顺利通过这些难关。 ### 错误一:`/...
thingsboard编译错误 Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:npm (npm install) on project js-executor: Failed to run task: 'npm install' failed. 该错误如果是3.0上的,请将...
问题记录 记录项目中的一个问题,不知什么时候,运行项目会出现这个错误: 解决方法 buildscript { repositories { ... classpath 'com.android.tools.build:gradle:3.6.2' } } 反思 项目出现问题
### Android Gradle 用户指南知识点详解 #### 一、Gradle构建系统概述 **目标与优势:** - **目标:** - **简化代码与资源复用:**Gradle旨在简化跨项目共享代码和资源的过程,使得开发人员能够更加高效地进行...
Error #541: 'NordicSemiconductor::Device:Startup:8.27.0' component is missing (previously found in pack 'NordicSemiconductor.nRF_DeviceFamilyPack_NordicLicense')
RedisClient是一款专为Redis数据库设计的客户端工具,它允许用户通过图形化界面或者命令行方式与Redis服务器进行交互。在IT行业中,Redis作为一种高性能的键值存储系统,被广泛应用于缓存、数据存储以及消息队列等多...
资源分类:Python库 所属语言:Python 资源全名:django-oauth2-1.1.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059