0
我剛剛更新我的android工作室到最新版本的新gradle版本也運行我的應用程序給我一個錯誤類android支持v4已經添加到輸出不知道發生了什麼問題,我檢查是否有重複的罐子或重複的罐子找不到任何東西。這裏是我的應用程序:的build.gradle類Android支持v4打印幫助已添加到輸出
enter code here
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion '21.1.1'
lintOptions
{
checkReleaseBuilds false
//abortOnError true
}
defaultConfig {
applicationId "package name"
minSdkVersion 14
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes
{
release {
minifyEnabled true
proguardFile getDefaultProguardFile('proguard-android.txt')
}
}
dexOptions {
preDexLibraries = false
incremental true
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project('Libraries:UniversalImageLoader')
compile project('Libraries:facebook')
compile project('Libraries:pull-to-refresh')
compile files('Libraries/gcm.jar')
compile files('Libraries/quickblox-android-sdk-chat-2.0.jar')
compile files('Libraries/quickblox-android-sdk-core-2.0.jar')
compile files('Libraries/quickblox-android-sdk-messages-2.0.jar')
compile 'com.google.android.gms:play-services:6.1.71'
compile 'com.google.maps.android:android-maps-utils:0.3'
compile 'com.squareup.picasso:picasso:2.4.0'
compile "com.android.support:appcompat-v7:21.0.2"
}
我把這個 編譯「com.android.support:support-v4:21.0.2」 我認爲它已經包含在程序兼容性-V7但它確實尚未解決我的問題
如果您在應用程序模塊上運行Gradle'依賴關係'任務,則可能可以確定其被複制的位置。我通常從命令行執行該操作。從**應用程序模塊的目錄**運行'../gradlew dependencies'。 – 2014-12-08 18:54:51