Eclipse DDMS仿真器控件中可能出现的错误? [英] Possible bug in Eclipse DDMS emulator control?

查看:227
本文介绍了Eclipse DDMS仿真器控件中可能出现的错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚升级到Eclipse 3.6。我保存了Eclipse 3.5并制作了原始工作区的副本。



我现在发现我的GPS /映射应用程序中的错误,在3.5发送位置时工作正常从DDMS的角度使用仿真器控制选项卡。我有一个标准的听众:



onLocationChanged(位置位置){...}



如果我打破这是第一行,发送了53.5 / -3.0的纬度/对,然后在位置参数中的mLatitude / mLongitude已更改为53.508833 / -3.005000(仅显示6个dec位置)。
如果我重复使用Eclipse 3.5在原始工作区中对原始项目进行操作,那么它正好是最小的小数位。这两个工作区的代码完全相同。



Android SDK均为2.2,目标是Google API第7级。



你会说这是Eclipse 3.6或SDK或插件中的一个错误?



我不认为这可能是我的错误部分,但我很乐意被证明是错误的。

解决方案

Android建议不要使用eclipse 3.6和ADT插件。从 Eclipse ADT



< blockquote>

 注意:ADT插件运行
已知问题

Eclipse 3.6。请留在3.5直到
进一步通知。


所以我不会惊讶,如果有一个错误。


I've just upgraded to Eclipse 3.6. I saved Eclipse 3.5 and made a copy of the original workspace.

I now notice an error in my GPS/mapping application which worked fine in 3.5, when I send a location from the DDMS perspective using the emulator control tab. I have a standard listener:

onLocationChanged(Location location){...}

If I break on the first line of this, having sent the lat/lon pair of 53.5/-3.0, then the mLatitude/mLongitude in the location argument have changed to 53.508833/-3.005000 (6 dec places only shown). If I repeat with Eclipse 3.5 operating on the original project in its original workspace, then it's exactly right down to the smallest decimal place. It's exactly the same code in both workspaces.

The Android SDK is 2.2 in both and the target is Google APIs level 7.

Would you say this is a bug in the Eclipse 3.6 or the SDK or the plugin?

I don't think it can be an error on my part, but I'd be happy to be proved wrong. 0.005 of a degree may not sound much but it's 0.3 nautical mile on a great circle.

解决方案

Android recommends not using eclipse 3.6 with the ADT plugin. From Eclipse ADT

Caution: There are known issues with the ADT plugin running with

Eclipse 3.6. Please stay on 3.5 until further notice.

So I wouldn't be surprised if there was a bug with either.

这篇关于Eclipse DDMS仿真器控件中可能出现的错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆