android购物系统购物车

时间:2018-09-20 23:41:43

标签: java android

您好,我正在尝试编写Android购物车代码,但我一直收到此错误消息

程序类型已存在:

  

android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat   消息{种类=错误,文本=程序类型已存在:   android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat,   sources = [未知源文件],工具名称= Optional.of(D8)}

下面是我的礼物

buildscript {

    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.4'



    }
}



allprojects {
repositories {
    google()
    jcenter()
    maven {url "https://jitpack.io"}
    maven {url "https://maven.google.com"}
    maven { url 'https://jitpack.io' }

}

}



task clean(type: Delete) {
delete rootProject.buildDir
}

下面是我的模块应用

apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion "28.0.0"
defaultConfig {
    applicationId "com.example.thabang.my_cart"
    minSdkVersion 21
    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'
    }
}
compileOptions {
    targetCompatibility 1.8
    sourceCompatibility 1.8
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0-rc02'
implementation 'com.android.support:design:28.0.0-rc02'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
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'
implementation 'com.android.support:cardview-v7:28.+'
implementation 'com.android.support:recyclerview-v7:28.+'
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.joanzapata.iconify:android-iconify-fontawesome:2.1.+'
implementation 'com.paypal.sdk:paypal-android-sdk:2.15.3'

}

0 个答案:

没有答案