• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Map Issues

jprov

Lurker
Okay, so I've been trying to fix this one for the last 24 hrs. I get an error that reads 'The Application "Project" (Process com.example.project) has stopped unexpectedly. It seems the issue only presents when I try to run the application. I get no errors in the console or problem tab (Eclipse). Furthermore, it only happens when I enter the following into my "main.xml" file:

<com.google.android.maps.MapView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mapview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:clickable="true"
android:apiKey="Debug Key"

Has gotten me quite confused. Any suggestions welcome..
 
Okay never mind, I just made a new .xml document in res/layout. Then I subbed it in for main.xml, problem solved.
 
Back
Top Bottom