颤动条纹stripe_payment:类路径

Posted

技术标签:

【中文标题】颤动条纹stripe_payment:类路径【英文标题】:flutter stripe stripe_payment:classpath 【发布时间】:2020-12-20 09:49:15 【问题描述】:

我正在尝试将条纹支付与颤振集成 我已经添加了

stripe_payment: ^1.0.7

在 pubspec.yml 中 我正在使用Flutter (Channel stable, v1.17.0, on Mac OS X 10.15.2 19C57

我收到以下错误

 Could not resolve all artifacts for configuration ':stripe_payment:classpath'.                                   
   > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.70.                                           
     Required by:                                                                                                  
         project :stripe_payment                                                                                   
      > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.70.                                        
         > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.70/kotlin-gradle-plugin-1.3.70.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.70/kotlin-gradle-plugin-1.3.70.pom'.
               > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/54.148.239.199, jcenter.bintray.com/52.36.128.157, jcenter.bintray.com/35.161.162.245, jcenter.bintray.com/52.88.32.158] failed: connect timed out
> Could not get unknown property 'android' for project ':stripe_payment' of type org.gradle.api.Project. 

【问题讨论】:

您可能遇到与***.com/questions/59482329/…相同的问题 【参考方案1】:

感谢所有帮助。我通过更改网络解决了这个问题。我连接到另一个网络并且应用程序已成功构建。

【讨论】:

以上是关于颤动条纹stripe_payment:类路径的主要内容,如果未能解决你的问题,请参考以下文章

条纹 - 创造电荷

苹果会强迫您通过Apple Pay进行应用内购买和订阅吗?

使用条带实现 APPLE PAY

Stripe:在网络上使用 Apple Pay 进行订阅

设置颤动路径时遇到问题 - 找不到颤动命令

在颤动中沿着弯曲的路径移动