解决java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class org.robolectric.annotation.Config.application()时间:2023-07-07 22:55:38Deleting the .gradle folder worked for me too. Odd. Guessing some high level caching going on somewhere 即删除项目工程中的.gradle文件