导入com.google.android.maps.geopoint无法解析 [英] import com.google.android.maps.geopoint cannot be resolved

查看:1167
本文介绍了导入com.google.android.maps.geopoint无法解析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Java的GoogleMAP项目。这不是android的项目。我以前使用KML完成了这个项目。现在Google已经改为JSON / XML。我需要在数据库-postgresql中的2位置内保存坐标。然后,我将在MAP中绘制路径。



现在问题是: GeoPoint无法解析为类型。我也这样导入 import com.google.maps.GeoPoint; 。这也显示为红色标记。请让我知道什么是问题或问题?



我google了没有运气。所有提到的是android google api设置。



不是一个android项目...



请帮助我。



提前感谢

解决方案

转到项目属性,并转到Android。选择Google API而不是Android x.x.它适用于我,理想情况下也适合你。


I have Java GoogleMAP project.This is not android project. I have done this project previous using KML. Now Google has changed to JSON/XML. I need to save coordinates within 2 location in database -postgresql. Then accroding to that i will draw the path in MAP.

Now the problem is : GeoPoint cannot be resolved to a type . I import like this also import com.google.maps.GeoPoint;. This also show as red mark. Please let me know what is an issues or problem?

I google it. No luck. All are mention about android google api setup.

Not an android project...

please help me..

Thanks in advance.

解决方案

Go to project properties, and go to Android. Select "Google API" instead of Android x.x. It works for me and ideally should work for you too.

这篇关于导入com.google.android.maps.geopoint无法解析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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