Android 添加facebook SDK时获取错误
在我的应用程序中,当我添加facebook sdk时,我遇到了此错误 错误 以前我没有得到这个错误。 在研究之后,我启用了multidexAndroid 添加facebook SDK时获取错误,android,facebook,android-multidex,Android,Facebook,Android Multidex,在我的应用程序中,当我添加facebook sdk时,我遇到了此错误 错误 以前我没有得到这个错误。 在研究之后,我启用了multidex apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { minSdkVersion 15 targetSdkVersion
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
multiDexEnabled true
}
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:multidex:1.0.0'
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.parse.bolts:bolts-android:1.+'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.github.bumptech.glide:glide:3.6.1'
compile 'com.github.clans:fab:1.6.2'
compile 'com.viewpagerindicator:library:2.4.1@aar'
compile 'com.google.android.gms:play-services:8.3.0'
/*compile 'com.github.blackfizz:eazegraph:1.2.5l@aar'
compile 'com.nineoldandroids:library:2.4.0'*/
compile 'com.parse:parse-android:1.12.0';
compile 'com.facebook.android:facebook-android-sdk:4.8.2'
}
在将Multidex
设置为true之前,我得到
请帮我解决这个问题
exit value 2
在把它设置为真后,我得到了
exit value 3
使用
compile'com.facebook.android:facebook-android-sdk:4.7.0'
任何具体原因??检查。我希望它能帮助你。@piotrek1543应该是这样的acceptable@IntelliJAmiya我有一些类似的问题,所以我认为这是最简单的解决方法
exit value 3