【发布时间】:2018-09-04 04:46:28
【问题描述】:
我正在尝试将 LinkedIn 集成到我的 Android 应用程序中并得到响应
无法解决依赖关系 ':app@debugAndroidTest/compileClasspath': 转换文件失败 'linkedin-sdk-release.aar' 匹配属性 {artifactType=android-exploded-aar} 使用变换 提取AarTransform
如果有人可以帮忙,请。
我的 buld.gradle 文件是
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "e.musalastborn.truckers1"
minSdkVersion 17
targetSdkVersion 28
versionCode 1
versionName "1.0"
useLibrary 'org.apache.http.legacy'
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
cxxxxxxc
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
buildToolsVersion '28.0.0'
}
//dependencies added to the app.
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:27.0.2'
compile project(path: ':linkedin-sdk', configuration: 'default')
compile 'com.android.volley:volley:1.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.android.support:design:27.0.2'
implementation 'com.google.android.gms:play-services-maps:12.0.1'
testImplementation 'junit:junit:4.12'
compile 'com.firebase:firebase-jobdispatcher:0.6.0'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
implementation 'com.google.android.gms:play-services-auth:12.0.1'
compile 'com.google.maps:google-maps-services:0.1.7'
compile 'org.slf4j:slf4j-nop:1.7.25'
implementation 'com.google.android.gms:play-services-location:12.0.1'
implementation 'com.facebook.android:facebook-login:[4,5)'
}
【问题讨论】:
-
请分享您应用的
build.gradle文件 -
@VicJodan,我刚刚分享了我的 gradle。请协助。
-
@Sufferer 你解决了吗...
-
@Tash Pemhiwa,不,我没有。这让我搁置了这个项目!
标签: android