我尝试用 Android Runtime For BlackBerry 打包项目我完成了所有事情 -Simulator,ADT- for eclipse .. 当我测试应用程序时出现此错误:
[2013-04-13 13:16:04 - BlackBerryTest] Packaging project BlackBerryTest
[2013-04-13 13:16:11 - BlackBerryTest] Launching BlackBerry Android Runtime...
[2013-04-13 13:16:20 - BlackBerryTest] Connecting to ADB...
[2013-04-13 13:17:23 - BlackBerryTest] Status ERROR: net.rim.ajde code=4 Connecting 192.168.72.128 to ADB failed! null children=[Status ERROR: net.rim.ajde code=0 Please check if the Android player was fully started when you got this error. If not, you can either increase the Android player launch timeout on the BlackBerry->BlackBerry Android Development Tools preference page or wait until the Android player is fully started and try again. null]
在模拟器中,有一个启动画面包含黑莓10徽标开始大约2秒然后关闭并且仍然是连接到ADB ... 大约一分钟然后我得到了连接错误。
**
更新:
**
现在我收到了这条消息
04-25 12:01:15.539: I/navigatorshell(17789061): no app URI, just launch AP and exit
任何想法?
答案 0 :(得分:2)
这通常是由于Android Runtime需要很长时间才能加载,在某些情况下,从未实际加载。
根本原因是模拟器运行速度非常慢。如果您还没有,在BIOS中启用虚拟化,这会对模拟器性能产生巨大影响,并为我解决了这个问题。
这里有关于此的视频:http://devblog.blackberry.com/2012/08/performance-increase-blackberry-10-simulator/