我的项目前建成罚款,但现在我得到一个错误:升级Android Studio中2.1.2升级到Android 2.1.2工作室现在,当越来越生成错误
这里是我有在我build.gradle
文件:
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
apply plugin: 'android'
apply plugin: 'io.fabric'
repositories {
maven { url 'https://maven.fabric.io/public' }
}
android {
compileSdkVersion 19
buildToolsVersion '19.1.0'
defaultConfig {
applicationId "com.puc.mobile"
minSdkVersion 14
targetSdkVersion 19
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
//compile files('libs/crashlytics.jar')
compile files('libs/FLurry_3.2.2.jar')
compile files('libs/universal-image-loader-1.9.2.jar')
// You must install or update the Support Repository through the SDK manager to use this dependency.
// You must install or update the Google Repository through the SDK manager to use this dependency.
compile files('libs/commons-lang3-3.4.jar')
compile('com.crashlytics.sdk.android:crashlytics:[email protected]') {
transitive = true;
}
compile fileTree(dir: 'libs', include: 'Parse-*.jar')
compile files('libs/Parse-1.13.0.jar')
compile 'com.android.support:support-v4:19.0.0'
compile 'com.google.android.gms:play-services:9.2.0'
compile 'com.parse.bolts:bolts-android:1.+'
compile 'com.google.android.gms:play-services-ads:9.2.0'
compile 'com.google.android.gms:play-services-auth:9.2.0'
compile 'com.google.android.gms:play-services-gcm:9.2.0'
}
我知道有一些问题在这里与构建工具的版本,但老实说,我不知道如何解决它。任何线索?
UPDATE:
更新为下述buildToolsVersion
后,我得到的错误:
有你试着用最新版本的工具(24.0.0)建设? – LordRaydenMK
@LordRaydenMK我会把'buildToolsVersion'改为24吗? –
'buildToolsVersion '24.0.0''也确保构建工具安装在SDK管理器中 – LordRaydenMK