The*_*One 2 google-maps google-play-services android-studio android-gradle-plugin
我在Android中设置谷歌地图v2.我使用这个链接添加依赖项的新技术." 带有Google Play服务的Android Studio "
它在同步,清理项目和重建项目之后表现很好.但是我找不到MapActivity.什么似乎是问题?
的build.gradle
apply plugin: 'android'
android {
compileSdkVersion 19
buildToolsVersion "19.0.3"
defaultConfig {
minSdkVersion 8
targetSdkVersion 19
versionCode 1
versionName "1.0"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.android.support:appcompat-v7:+'
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.google.android.gms:play-services:4.2.42'
}
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
13275 次 |
最近记录: |