Facebook登錄我也跟着在https://parse.com/docs/android/guide#users-facebook-users
的build.gradle與解析問題的Android
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.test.app"
minSdkVersion 15
targetSdkVersion 22
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:multidex:1.0.0'
compile 'com.android.support:support-v4:23.1.1'
compile 'com.squareup.picasso:picasso:2.5.2'
compile project(':volley')
compile 'com.parse.bolts:bolts-tasks:1.3.0'
compile 'com.parse.bolts:bolts-applinks:1.3.0'
compile 'com.parse:parse-android:1.12.0'
compile 'com.facebook.android:facebook-android-sdk:4.7.0'
compile 'com.parse:parsefacebookutils-v4-android:[email protected]'
}
的文檔,但應用程序運行時,它提供了錯誤 **錯誤:執行失敗的任務「:應用程序: transformClassesWithJarMergingForDebug」。
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: bolts/AggregateException.class**
任何幫助讚賞
螺栓包被某些編譯聲明欺騙 –
是的但是如何排除他們有什麼想法? –
@RobertRowntree:我用multidex,但沒用.. –