Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

调用微信/支付宝支付 #73

Open
LiuJCode opened this issue May 21, 2019 · 3 comments
Open

调用微信/支付宝支付 #73

LiuJCode opened this issue May 21, 2019 · 3 comments

Comments

@LiuJCode
Copy link

image

@LiuJCode
Copy link
Author

直接引入了pingpp 这个Lib,报错了,请问大佬是什么原因。

@samurai00
Copy link
Contributor

不要直接引入这个项目下的目录了。用 bintray 上的 aar 的方式引入

allprojects {
    repositories {
        // ...其他仓库地址...
        jcenter()

        // 添加下面的 bintray 仓库地址
        maven {
            url  "https://dl.bintray.com/pingxx/maven"
        }
    }
}
dependencies {
   implementation 'com.pingxx:pingpp-android:2.2.2' // (Ping++ 标准版 SDK) 必须添加
   implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+' // 使用微信支付时添加,具体版本参考微信官方文档
   implementation 'com.pingxx:pingpp-android-alipay:2.2.0' // 使用支付宝时添加
   implementation 'com.pingxx:pingpp-android-upacp:2.2.0' // 使用银联支付时添加
   implementation 'com.pingxx:pingpp-qpay:2.1.19' // 使用QQ钱包时添加
   implementation 'com.pingxx:pingpp-cmbwallet:2.1.19' // 使用招行一网通时添加
   implementation 'com.pingxx:pingpp-ccbpay:2.1.19' // 使用建行支付时添加
   implementation 'com.pingxx:pingpp-android-cmpay:2.2.2' // 使用和包支付时添加
}

@LiuJCode
Copy link
Author

LiuJCode commented May 22, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants