错误提示: 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) |
相关文章
- 使用Genymotion安装APK出现错误Failure [INSTALL_FAILED_NO_MATCHING_ABIS]解决办法
- <学习笔记>安装apk报错:an error occured while deploying the file install failed older sdk
- 关于Android12安装apk出现-108异常INSTALL_PARSE_FAILED_MANIFEST_MALFORMED的解决方法
- Failed to install apk on device timeout
- adb 安装apk 报错:Failure [INSTALL_FAILED_INVALID_URI]
- 小米手机_adb安装apk报错”Failure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user]“
- Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK: Split lib_slice_8_apk was defined multiple times. It is possible that this issue is resolved by uninstalling a
- Android studio 报错 installation failed with message failed to finalize session:INSTALL_FAILED_INVALID_APK 解决方法
- adb install *.apk时,出现INSTALL_FAILED_MISSING_SHARED_LIBRARY错误的解决方法
- 解决Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK的问题