我正在尝试实现此tutorial,但我在这些行中遇到错误
import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapActivity;
import com.google.android.maps.MapController;
import com.google.android.maps.MapView;
import com.google.android.maps.MyLocationOverlay;
import com.google.android.maps.Overlay;
WhereAreMyFriendsMap.java中的
还有什么像我需要添加的jar 感谢
答案 0 :(得分:1)
您必须将Project Build Target设置为您要定位的API级别的Google API版本。您最有可能将其设置为Android API。
答案 1 :(得分:1)
在同一个教程中,你有他们在这里提到的所有内容吗?
Getting started is pretty well-worn ground. Pull down the latest Android SDK and JDK (5 or newer). Download and install Eclipse for Java developers (3.2 or newer) and the ADT Eclipse plugin and you're set. There's more detail at StackOverflow, on the Android code site, and the Android support forums.