I try to program an easy map app on Android but the only outcome are errors. I tried to program it the way it should be but it still doesn\'t work.
mainactivity<
In your layout XML try to use
instead this
And import google play services on your project. Here I've explained how to do it