Google广告依赖性实施后无法进行器乐测试
在Google Ads
依赖项实现之后,我无法运行工具(UI)测试。跑步者每次崩溃。我试图将其实施到虚拟项目中,因为最初,我认为问题出在我的项目中,但似乎我对虚拟项目的结果并不相同,所以我的乐器测试没有运行。我已经检查了Google Ads
依赖关系,并发现根本原因是Google Ads-Lite,该广告由Google Ads库使用。我尝试了一些变体,例如Change Runner,在x86,
x64 平台上运行,更改lib版本,更改
gradle`版本,更改AGP版本。但是我找不到解决方案。
复制的步骤:
创建虚拟项目(Runner:“ Androidx.test.runner.androidJunitrunner”)
进行器乐测试以确保成功通过 实现com.google.android.gms:Play-Services-ads:20.5.0
(或最新版本) 进行器乐测试,由于跑步者崩溃,应该被卡住
I couldn't run instrumental(UI) tests after Google Ads
dependency implementation. The runner crashed every time; I tried to implement it to the dummy project because initially, I thought that the problem was in my project but it seemed not I got the same result on the dummy project, So merely my instrumental tests didn't run. I have inspected the Google Ads
dependency and spotted that the root cause was google ads-lite which is used by the google ads library. I tried a few variants such as change runner, run it on x86,
x64platforms, change lib version, change
Gradle` version, change AGP version. But I can't find a solution.
Steps to reproduce:
Create a dummy project(runner: "androidx.test.runner.AndroidJUnitRunner")
Run an instrumental test to make sure that was passed successfullyimplement com.google.android.gms:play-services-ads: 20.5.0
(or latest version)
Run an instrumental test it should be stuck because of the runner crash
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论