January 8th, 2013, 02:12 AM
|
#1 (permalink)
|
|
New Member
Thread Author (OP)
Join Date: Dec 2012
Posts: 9
Device(s):
Carrier: Not Provided
Thanks: 0
Thanked 0 Times in 0 Posts
|
Andriod Maps - Class Error
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#FFFFFF"
tools:context=".TownMapActivity" >
<fragment
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
class="com.google.android.gms.maps.MapFragment" />
<!-- Tab Section -->
<include layout="@layout/tab_section" />
</RelativeLayout>
Now this gives me :
java.lang.ClassNotFoundException: com.google.android.gms.maps.MapFragment
I have included the google-play-services.jar, and can see that class, but it always crashes the app.
Any ideas how to fix, have followed all the stuff on the andriod dev site, and can't get my map to load at all.
|
|
|