I have two Android Studio projects using Google Maps. One works fine, the other is unable to find com.google.android and so can't compile. Fails with
error: package com.google.android.gms.maps.model does not exist
Both have the same code in Manifest.xml
<meta-data
android:name="com.google.android.gms.version"
android:value="4323000" />
Both have the same import statement.
build.gradle is:
apply plugin: 'android'
android {
compileSdkVersion 19
buildToolsVersion "19.0.3"
defaultConfig {
minSdkVersion 11
targetSdkVersion 19
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.android.support:support-v4:+'
compile 'com.android.support:appcompat-v7:+'
}
I've read several similar questions on StackOverflow but those answers have no beneficial effect.
Any thoughts appreciated ...