2017-07-03 7 views
0

Android Studio 2.3をインストールしてSDKをアップデートした後、the following errorが発生しました。この問題を解決するために何ができるのですか?あなたはすべてのサブプロジェクト/モジュールに共通する設定オプションを追加することができますbuild.gradle.projectでcom.android.tools.build:gradle:3.2

+0

buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.3.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { jcenter() } } task clean(type: Delete) { delete rootProject.buildDir 

と、このことはyour'reはまだ発売さっすGradleのバージョンを使用して、あなたの質問のタイトルからも明らかです。 ASの最新ビルドの最新版は2.3.3です。 –

答えて

1

使用この

//トップレベルのビルドファイル。 build.gradle.module

apply plugin: 'com.android.application' 

android { 
    compileSdkVersion 25 
    buildToolsVersion "25.0.3" 
    defaultConfig { 
     applicationId "com.example.madridistansit.mapapplication" 
     minSdkVersion 18 
     targetSdkVersion 25 
     versionCode 1 
     versionName "1.0" 
     testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 
    } 
    buildTypes { 
     release { 
      minifyEnabled false 
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
     } 
    } 
} 

dependencies { 
    compile fileTree(dir: 'libs', include: ['*.jar']) 
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 
     exclude group: 'com.android.support', module: 'support-annotations' 
    }) 
    compile 'com.android.support:appcompat-v7:25.3.1' 
} 
+0

あなたの偉大な助けを兄弟に感謝します。私はあなたに感謝しています –

+0

ok bortherは答えを受け入れてください??? @AdityaMishra –