gpt4 book ai didi

Usage of Kotlin internal declaration from different module while integrating Stripe in Android(在Android中集成条纹时不同模块的Kotlin内部声明的使用)

转载 作者:bug小助手 更新时间:2023-10-25 19:08:25 27 4
gpt4 key购买 nike



Following the guidline, I'm integrating Stripe in Android. In the step 4 they use TerminalLifecycleObserver in Application class. I've followed all the steps above and also tried more brief guidline from their GitHub repository. But after all still getting the error Usage of Kotlin internal declaration from different module on TerminalLifecycleObserver in my Application class. Here's the screenshot showing the error and exception logs.
enter image description here

按照这一指导方针,我正在Android系统中集成条纹。在步骤4中,他们在应用程序类中使用TerminalLifecycleWatch。我已经遵循了上面的所有步骤,也尝试了他们的GitHub资源库中更简短的指南。但毕竟,在我的应用程序类中,仍然从TerminalLifecycleWatch上的不同模块获得了Kotlin内部声明的错误用法。以下是显示错误和异常日志的屏幕截图。


更多回答

what version of Stripe Terminal Android SDK are you using?

您使用的是哪个版本的条纹终端Android SDK?

ah looks like v2.0.0 ... any particular beta version of v2.0.0 you're on?

啊看起来是2.0.0...有没有什么特别的2.0.0测试版?

It's implementation "com.stripe:stripeterminal:2.0.0"

它的实现是“com.stripe:stripeend:2.0.0”

I am having the same issue. Did you ever resolve this? I've followed the stripe docs to a T.... or so I thought

我也有同样的问题。你解决过这个问题吗?我跟着条纹医生找到了一个T……或者我是这样想的

优秀答案推荐

I'm posting this now since I've just found myself in the same predicament with no answer to this post that keeps coming up.

我现在发布这篇文章,因为我刚刚发现自己陷入了同样的困境,对这个不断出现的帖子没有答案。


The error Usage of Kotlin internal declaration from different module is actually an Intellij's inspection set with level Error. The code is fine; it's the inspection level that is preventing you from running the code.

来自不同模块的Kotlin内部声明的错误使用实际上是IntelliJ的带有级别错误的检查集。代码没有问题;是检查级别阻止了您运行代码。


To execute your application, you can either lower the severity of the inspection or disable it altogether.

要执行您的应用程序,您可以降低检查的严重性或完全禁用它。


https://youtrack.jetbrains.com/issue/KTIJ-12493/Usage-of-Kotlin-internal-declaration-from-different-module-more...

Https://youtrack.jetbrains.com/issue/KTIJ-12493/Usage-of-Kotlin-internal-declaration-from-different-module-more...


更多回答

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com