views:

116

answers:

0

I'm developing a tab-based layout, one tab should show a google maps view. my unsolved problem ist that my app is crashing when i change to the google map tab.

in my manifest i've set the permissions:

uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"
uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"
uses-permission android:name="android.permission.INTERNET"

Additionally I defined the maps lib under my application-tag:

uses-library android:name="com.google.android.maps"

Furthermore I obtained an api maps key for my certificate md5-key and use this in my layout:

<com.google.android.maps.MapView
    android:id="@+id/mapview"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:clickable="true"
    android:apiKey="3431231dasadasdmnn54545s3323"/>

I have an runtime error if I switch to my google maps tab running the app in emulator - unfortunatly I cannot see anything in logcat. The only thing I see in debug view ist the message:

ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord,Intent) line 2663: Source not found.

Can anybody explain me what's the problem could be?

I needed the source is provided here: http://www.marcusegger.de/examples/QuickPortfolio.zip please feel free to have look :-)