You are attempting to use the original version of Google Maps support for Android (com.google.android.maps). We refer to that now as Maps V1.
This will not work, as Maps V1 has been deprecated for over two years. You can no longer get API keys for it, so even if your code would be correct, it would not work. The crash is because the old MapView had to be used inside of a MapActivity, as the error indicates.
The current version of Google Maps support for Android — Maps V2 — has a very different API and does not involve classes in the com.google.android.maps package.
You are attempting to use the original version of Google Maps support for Android (`com.google.android.maps`). We refer to that now as Maps V1.
This will not work, as Maps V1 has been deprecated for over two years. You can no longer get API keys for it, so even if your code would be correct, it would not work. The crash is because the old `MapView` had to be used inside of a `MapActivity`, as the error indicates.
[The current version of Google Maps support for Android][1] — Maps V2 — has a very different API and does not involve classes in the `com.google.android.maps` package.
[1]: http://developer.android.com/training/maps/index.html