我正在评估一下,我正在使用阿戈图和我的法典主要轴心如下:
<com.google.android.maps.MapView
android:id="@+id/mapview1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:apiKey="0lr6nShkIg955xnYpmUOgPpsSuEJctwQIUXExhw"
android:clickable="true"
android:enabled="true" >
</com.google.android.maps.MapView>
我的java法典是:
import android.os.Bundle;
import com.google.android.maps.MapActivity;
public class MapList extends MapActivity {
@Override
protected boolean isRouteDisplayed() {
// TODO Auto-generated method stub
return false;
}
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
System.out.println("hello1");
super.onCreate(savedInstanceState);
System.out.println("hello");
setContentView(R.layout.main);
}
}
甲型六氯环己烷
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-library android:name="com.google.android.maps" />
but on compile time it gives me exception:
java.lang.RuntimeException: Unable to Immediateiate activity PartInfo{com.trigma.map/com.trigma.map.MapList}: java.lang.Class Not FoundException: com.trigma.map。 MapList inloader dalvik.system.PathClassLoader[/data/app/com.trigma.map-1.apk]
.
谁能帮助我如何解决这一问题?