小编Cha*_*ave的帖子

将 Android Studio 升级到 4.0 后,我得到“Caused by: java.lang.IllegalStateException: Unexpected non-class file”

当我尝试使用 Android Studio 4.0 运行 Instrumentation 测试时,我得到

Caused by: java.lang.IllegalStateException: Unexpected non-class file: META-INF\versions\9\org\junit\platform\commons\util\ModuleUtils$ModuleReferenceScanner.class
Run Code Online (Sandbox Code Playgroud)

直到我将 Android Studio 从 3.x 升级到 4.0 才发生这种情况。

有人解决了吗?提前致谢。

java android android-studio

5
推荐指数
1
解决办法
414
查看次数

标签 统计

android ×1

android-studio ×1

java ×1