I am using compile SDK version 27 and I have 1000's of espresso test cases. When I am trying to upgrade to compile SDK version to 28 all the test cases not working and it says test cases running and stays there. Is it compulsory to migrate to AndroidX if we are updating compile & target sdk version to 28?
I have tried updating compile time SDK to 28
I have updated support library version also to 28
I updated all my third party library versions as well
I have tried writing new test case just to check activity is launching or not still the testcase is not working.
Espresso 3.0.2版
实现“ com.android.support:appcompat-v7:28.0.0” 实现“ com.android.support:support-v4:28.0.0” 实现“ com.android.support:design:28.0.0” 实现“ com.android.support:support-annotations:28.0.0” 实施“ com.android.support:support-compat:28.0.0”
预期结果是测试用例应启动活动并继续运行测试用例 但是实际结果是测试用例长时间运行并且应用程序无法启动