无法解决:com.samsung.android:samsungpay:1.9.0

时间:2018-11-19 07:37:25

标签: android payment-gateway braintree samsung-mobile-sdk

我正在尝试在我的Braintree Sandbox付款网关中启用Samsung Pay。我在Braintree沙箱仪表板中更新了处理设置,并根据Link更新了模块级build.gradle文件

apply plugin: 'com.android.application'

android {
  compileSdkVersion 27
  defaultConfig {
    applicationId "com.android.testparseapplication"
    minSdkVersion 19
    targetSdkVersion 27
    versionCode 1
    versionName "1.0"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  }
  buildTypes {
    release {
      minifyEnabled false
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
  }
}

dependencies {
  // BRAINTREE API
  implementation 'com.braintreepayments.api:drop-in:3.6.0'
  // Samsung Pay -- Api >= 23
  implementation 'com.braintreepayments.api:braintree:2.16.0'
  implementation 'com.braintreepayments.api:samsung-pay:1.0.0'
  // Samsung JAR to libs folder of project
  implementation(group: 'com.samsung.android', name: 'samsungpay', version: '1.9.0', ext: 'jar') <---- PRODUCES ERROR
}

repositories {
  mavenCentral()
  jcenter()
  maven {
    url "https://maven.google.com"
  }
  flatDir {
    dirs "${rootDir}/libs"
  }
}

apply plugin: 'com.google.gms.google-services'

但是以错误结尾:无法解决:com.samsung.android:samsungpay:1.9.0

有什么建议吗?

0 个答案:

没有答案