Added user-permissions and api key at android manifest.
Added library at build.gradle of google play services
changed compileSdkVersion
added fragment at main layout
changed API key for the new
changed API key for the new