PingPlusPlus / pingpp-android

414 stars 190 forks source link

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

Open LiuJCode opened 5 years ago

LiuJCode commented 5 years ago

image

LiuJCode commented 5 years ago

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

samurai00 commented 5 years ago

不要直接引入这个项目下的目录了。用 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 commented 5 years ago

好的谢谢。

------------------ 原始邮件 ------------------ 发件人: "afon"notifications@github.com; 发送时间: 2019年5月21日(星期二) 晚上7:50 收件人: "PingPlusPlus/pingpp-android"pingpp-android@noreply.github.com; 抄送: "愛の好嘜"416760980@qq.com; "Author"author@noreply.github.com; 主题: Re: [PingPlusPlus/pingpp-android] 调用微信/支付宝支付 (#73)

不要直接引入这个项目下的目录了。用 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' // 使用和包支付时添加 }
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.