AANot sure why this error is occuring... This is my AndroidManifest.xml file. I added in Google Play Services, Repository and Android Support Library. Not sure if i need another plug in or what
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.RuMaps"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="20"/>
<application android:label="@string/app_name" android:icon="@drawable/ic_launcher">
<activity android:name="MyActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="API-KEY"/>
</application>
</manifest>
Try adding this in the build.gradle file:
dependencies {
compile 'com.google.android.gms:play-services:7.5.0'
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With