You have
<uses-sdk
android:minSdkVersion="8"
So you need to extend FragmentActivity
and use SupportMapFragment
.
public class Main extends Activity{
Should be
public class Main extends FragmentActivity{
This
android:name="com.google.android.gms.maps.MapFragment"/>
should be
android:name="com.google.android.gms.maps.SupportMapFragment"/>
You should have the meta tag as a child of application tag
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />