'How can I implement Paypal client side payment on Android studio?
I am trying to add Paypal inside my application. However, it throws me the following error:
org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'myFirstApp'.
Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'mavenUsername' for Credentials [username: null] of type org.gradle.internal.credentials.DefaultPasswordCredentials_Decorated.
Here is my gradle.properties:
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
mavenUsername=paypal_sgerritz
mavenPassword=AKCp8jQ8tAahqpT5JjZ4FRP2mW7GMoFZ674kGqHmupTesKeAY2G8NcmPKLuTxTGkKjDLRzDUQ
And build.gradle here:
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
url "https://jitpack.io"
}
maven {
url "https://cardinalcommerceprod.jfrog.io/artifactory/android"
credentials {
username mavenUsername
password mavenPassword
}
}
}
}
So, what is wrong with this library?? Any answer will be appreciated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
