flutter - 颤动条纹stripe_payment:类路径
问题描述
我正在尝试将条纹支付与我添加的颤振集成
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.
解决方案
感谢所有的帮助。我通过更改网络解决了这个问题。我连接到另一个网络并且应用程序已成功构建。