This seems like there is a problem with your apikey. Did you copy your apikey in the place of mykey?
Good Luck Sandreev. On Oct 5, 1:55 am, DWischer <danielwisc...@googlemail.com> wrote: > I just tried to make it a lot more easier than the tutorial to find > the error. > > This is my main class: > package com.map.maptest; > > import com.google.android.maps.MapView; > > import android.app.Activity; > import android.os.Bundle; > > public class MapAppTest extends Activity { > > private MapView mv = null; > > /** Called when the activity is first created. */ > @Override > public void onCreate(Bundle savedInstanceState) { > super.onCreate(savedInstanceState); > //setContentView(R.layout.main); > > this.mv = new MapView(this, "mykey"); > > //setContentView(this.mv); > } > > } > > When i uncomment the line: this.mv = new MapView(this, "mykey"); > no error occurs and the app is starting normally. > With this line i get an InvokationTargetException with a Verify Error > with this detail Mesage: com.map.maptest.MapAppTest > > I really dont know where to search. I added the uses-library tag to > the Manifest, so the Mapview class should be available. > > Regards, > Grinarn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---