Instrumentation run failed due to #39;Process crashed.#39;(由于“进程崩溃,检测运行失败.)
问题描述
我想运行以下测试:
但我在控制台中收到错误:
But I get the error in the console:
我不知道为什么它不起作用.
I can not figgure out why its not working.
这是我的 gradle 文件:
Here is my gradle file:
有什么建议吗?
推荐答案
自己找到了解决方案.我更新到 AndroidX,因此我还需要从以下位置更新我的 build.gradle
文件:
Found the solution by myself.
I updated to AndroidX, therefor I needed also to update my build.gradle
file from:
到
这篇关于由于“进程崩溃",检测运行失败.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!