buildToolsVersion 改的小一点就可以了 apply plugin: 'com.android.application' android { compileSdkVersion 23 // buildToolsVersion "24.0.1" buildToolsVersion "23.0.2" defaultConfig { applicationId "funny.android.com.baseapplication" minSdkVersion 8 targetSdkVersion 23 versionCode 1 versionName "1.0" } dexOptions { incremental = true; preDexLibraries = false javaMaxHeapSize "4g" // 2g should be also OK } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.3.0' compile 'com.android.support:design:23.3.0' }
finished with non-zero exit value 1
最新推荐文章于 2020-05-21 15:02:53 发布