问题描述
我已经运行使用模拟器我的应用程序。它需要大约5分钟的这么长的时间来上传和放大器; 2分钟在我的模拟器安装我的应用程序。两分钟后失败。
I have run my application using an emulator. Its taking so long time of about 5 mins to upload & 2 mins of installing my application on my emulator. After the two minutes it fails.
这是错误控制台,
[2013-03-28 14:13:18 - newwaterreadingapp] ------------------------------
[2013-03-28 14:13:18 - newwaterreadingapp] Android Launch!
[2013-03-28 14:13:18 - newwaterreadingapp] adb is running normally.
[2013-03-28 14:13:18 - newwaterreadingapp] Performing
com.example.newwaterreadingapp.MainActivity activity launch
[2013-03-28 14:13:18 - newwaterreadingapp] Automatic Target Mode: using existing emulator 'emulator-5556' running compatible AVD 'NewAvd_water_electricity_reading'
[2013-03-28 14:13:18 - newwaterreadingapp] Uploading newwaterreadingapp.apk onto device 'emulator-5556'
[2013-03-28 14:18:31 - newwaterreadingapp] Installing newwaterreadingapp.apk...
[2013-03-28 14:20:35 - newwaterreadingapp] Failed to install newwaterreadingapp.apk on device 'emulator-5556!
[2013-03-28 14:20:35 - newwaterreadingapp] (null)
[2013-03-28 14:20:37 - newwaterreadingapp] Launch canceled!
我的应用程序位于 E:\项目
文件夹。我增加了我的adb超时为15000ms。但我仍看到我的应用程序未加载到模拟器。
My application is located in E:\Projects
folder. And I have increased my adb timeout to 15000ms. But still I see that my application is not loaded on to emulator.
推荐答案
勇可以增加你的日食亚行超时设置。转到preferences-> Android-> DDMS->找到亚行连接超时(毫秒),并给予更多更高的价值。
Yon can increase your adb timeout setting in eclipse. Go to Preferences-> Android-> DDMS-> find "ADB connection time out (ms)" and give some more higher value.
另外,试一试,看是否在连接到DDMS你的模拟器。无论是检查从DDMS视图或命令提示符下运行ADB设备
Also, try to see if your emulator in connected to the DDMS. Either check from DDMS view or run "ADB devices" in command prompt
这篇关于错误:"无法安装APK设备'模拟器-5554“:超时"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!