我正在尝试同步我的项目,我的Android Studio版本为3.0.1,此消息出现错误:-

Gradle sync failed: java.lang.AssertionError: Invalid libraryOrderEntry, library: Library: name:com.android.support.test:exposed-instrumentation-api-publish-0.5; jars:JAR dirs: []; roots:[VFPContainer: [, ], VFPContainer: [], VFPContainer: [], VFPContainer: [], VFPContainer: []] of type

任何帮助将不胜感激。

最佳答案

File > Invalidate Caches/Restart为我工作:

android - 无效的libraryOrderEntry-LMLPHP

android - 无效的libraryOrderEntry-LMLPHP

10-08 17:07