Failed to resolve: com.samsung.android:samsungpay:1.9.0

349 Views Asked by At

I am trying to enable Samsung Pay within My Braintree Sandbox Payment Gateway. I update my processing settings in my Braintree sandbox dashboard and As Per This Link update my module-level build.gradle file

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'

However End With The Error: Failed to resolve: com.samsung.android:samsungpay:1.9.0

Any recommendations ?

0

There are 0 best solutions below