显示程序类型已经存在但找不到依赖项

时间:2019-05-27 03:51:55

标签: android gradle

在android studio中运行应用程序时出现错误。我在终端gradlew app:dependencies中使用此命令搜索应用程序依赖项,但找不到与此依赖项有关的任何名称。

我在项目libs文件夹中添加了admaster_convmobi_v1.3.3.jar文件。我该如何解决这个问题?

Program type already present: com.admaster.square.a.a

消息{种类=错误,文本=程序类型已存在:com.admaster.square.a.a,来源= [未知源文件],工具名称=可选。of(D8)}

这是我的app / build.gradle

dependencies {
//Don't change this
implementation 'com.google.firebase:firebase-messaging:17.5.0'
implementation 'com.google.firebase:firebase-core:16.0.0'
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:1.10.19'
testImplementation 'org.hamcrest:hamcrest-library:1.3'
implementation(name: 'easyaddrui', ext: 'aar')
implementation 'com.android.support:multidex:1.0.2'
implementation 'com.google.android.gms:play-services-maps:16.0.0'
implementation 'com.google.android.gms:play-services-plus:16.0.0'
implementation 'com.google.android.gms:play-services-auth-base:16.0.0'
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:support-compat:26.1.0'
implementation 'com.android.support:recyclerview-v7:26.1.0'
implementation 'com.android.support:gridlayout-v7:26.1.0'
implementation 'com.facebook.android:facebook-android-sdk:3.22.0'
implementation 'com.newrelic.agent.android:android-agent:5.15.2'
implementation 'com.ensighten.android:ensighten-core:2.4.1'
implementation 'se.emilsjolander:stickylistheaders:2.7.0'
implementation 'com.android.support:support-v4:26.1.0'
implementation 'com.android.support:design:26.1.0'
implementation 'me.grantland:autofittextview:0.2.1'
implementation('com.crashlytics.sdk.android:crashlytics:2.10.0@aar') {
    transitive = true;
}
implementation 'com.kochava.base:tracker:3.4.0'
implementation(name: 'alipaySdk-15.5.9-20181123210601', ext: 'aar')
implementation 'com.google.code.gson:gson:2.8.2'
implementation('com.google.oauth-client:google-oauth-client:1.20.0') {
    exclude module: 'httpcore'
    exclude module: 'httpclient'
}
implementation 'com.google.zxing:core:3.3.0'
implementation 'com.squareup.okhttp:okhttp:2.7.2'
implementation 'com.github.bumptech.glide:glide:3.8.0'
implementation 'io.github.inflationx:calligraphy3:3.0.0'
implementation 'io.github.inflationx:viewpump:1.0.0'
implementation 'com.facebook.stetho:stetho:1.2.0'
implementation 'eu.the4thfloor.volley:com.android.volley:2015.05.28'
implementation 'com.facebook.stetho:stetho-okhttp:1.2.0'

}

0 个答案:

没有答案