Well I can't get this working. I've gone as far as step 6 of the
tutorial, where it says "You can actually run this now, but all it
does is allow you to pan around the map". So my class is very simple:
public class HelloMapView extends MapActivity {
LinearLayout linearLayout;
MapView mapView;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {;
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
@Override
protected boolean isRouteDisplayed() {
return false;
}
}
...and the manifest is as already posted above. The error again is:
07-22 09:00:25.421: ERROR/AndroidRuntime(724):
java.lang.IllegalAccessError: cross-loader access from pre-verified
class
07-22 09:00:25.421: ERROR/AndroidRuntime(724): at
dalvik.system.DexFile.defineClass(Native Method)
07-22 09:00:25.421: ERROR/AndroidRuntime(724): at
dalvik.system.DexFile.loadClass(DexFile.java:193)
07-22 09:00:25.421: ERROR/AndroidRuntime(724): at
dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203)
07-22 09:00:25.421: ERROR/AndroidRuntime(724): at
java.lang.ClassLoader.loadClass(ClassLoader.java:573)
07-22 09:00:25.421: ERROR/AndroidRuntime(724): at
java.lang.ClassLoader.loadClass(ClassLoader.java:532)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---