8/1 になんだかんだというのでちまちまやってるといろんなことがおこる.
【 Android_ID / IMEI を使ったらアウト?! 】8/1 以降 「端末の特定」はすべて Google「広告ID」経由に
build tool を 19.1.0 にする.
android {
compileSdkVersion 19
buildToolsVersion ’19.1.0'
Gradle Plugin のバージョンを 0.12.0 以降にする.
buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:0.12.+'
Error:The project is using an unsupported version of Gradle. Please use version 1.12.
Please point to a supported Gradle version in the project's Gradle settings or in the project's Gradle wrapper (if applicable.)
gradle/wrapper/gradle-wrapper.properties
distributionUrl=http\://services.gradle.org/distributions/gradle-1.12-all.zip
Error:Execution failed for task ’sample:processDefaultFlavorDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 17 cannot be smaller than version L declared in library com.android.support:appcompat-v7:21.0.0-rc1
appcompat が 21 を拾ってエラー
→ 19.+ に
dependencies {
compile 'com.android.support:appcompat-v7:19.+'
compile 'com.google.android.gms:play-services:+’
Warning:(21, 25) Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the android.os.Build.VERSION_CODES javadoc for details.
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
Gradle のバージョンて こんな風になってたのかっ
Android Studio Gradle issue upgrading to version 0.5.0 - Gradle Migrating From 0.8 to 0.9 - Also Android Studio upgrade to 0.8.1 - Stack Overflow