错误:程序类型已存在:com.amazonaws.auth.DecodedStreamBuffer

时间:2018-07-31 05:21:12

标签: android

我正在尝试运行我的Android应用。但是在编译时显示错误。

这是我的build.gradle

apply plugin: 'com.android.application'
        android {
            compileSdkVersion 28
            buildToolsVersion '28.0.0'
            defaultConfig {
                applicationId "com.example.davidpilnik.mednet"
                minSdkVersion 15
                targetSdkVersion 28
                versionCode 1
                versionName "1.0"
                testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
            }
            buildTypes {
                release {
                    minifyEnabled false
                    proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
                }
            }
        }
        repositories {
            mavenCentral()
        }
        dependencies {
            implementation fileTree(dir: 'libs', include: ['*.jar'])
            implementation 'com.journeyapps:zxing-android-embedded:3.2.0@aar'//Add dependency
            implementation 'com.google.zxing:core:3.2.1'
            androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
                exclude group: 'com.android.support', module: 'support-annotations'
            })

            implementation 'com.amazonaws:aws-android-sdk-core:2.2.+'
            implementation 'com.amazonaws:aws-android-sdk-s3:2.2.+'
            implementation 'com.amazonaws:aws-android-sdk-ddb:2.2.+'
            implementation 'com.facebook.android:facebook-android-sdk:[4,5)'
            implementation 'com.android.support:design:28.+'

            implementation 'com.android.support:appcompat-v7:28.0.0-beta01'
            implementation 'com.android.support.constraint:constraint-layout:1.1.2'
            testImplementation 'junit:junit:4.12'
            androidTestImplementation 'com.android.support.test:runner:1.0.2'
            androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
        }

我检查了许多与此错误有关的StackOverflow问题,但是答案都是特定于某些库的。我不仅在寻找错误的解决方案,而且还在寻找错误的含义。         感谢您的帮助。

0 个答案:

没有答案