错误提示: Failed to install helloworld.apk on device 'emulator-5554': timeout 或者 the user data image is used 原因: 由于模拟器已经开启而没有关闭或者非法关闭引起的。 解决方法: 删除 C:\Documents and Settings\Administrator\.android\avd\对应版本.avd 或者 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) |
相关文章
- 10-13安装APK时引发INSTALL_PARSE_FAILED_MANIFEST_MALFORMED错误的几种可能(申明:来源于网络)
- 10-13android studio 无法安装本地apk报错Failure [INSTALL_FAILED_NO_MATCHING_ABIS]
- 10-13Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK:
- 10-13adb 安装apk报INSTALL_FAILED_NO_MATCHING_ABIS
- 10-13Failed to install apk on device timeout
- 10-13Failed to install one or more provisioning profiles on the device
- 10-13解决小米手机USB安装apk时AS报错:INSTALL_FAILED_USER_RESTRICTED
- 10-13Installation failed with message INSTALL_FAILED_UID_CHANGED.--APK安装失败解决方法
- 10-13Android adb命令adb install xxx.apk安装应用报INSTALL_FAILED_ALREADY_EXISTS错误的问题解决
- 10-13Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]:安装APK时报错