glide icon indicating copy to clipboard operation
glide copied to clipboard

[1] Wrote GeneratedAppGlideModule with: [] 求助

Open XiaohaiBen opened this issue 4 years ago • 2 comments

注: [1] Wrote GeneratedAppGlideModule with: [] 编译器 (1.8.0_231) 中出现异常错误。如果在 Bug Database (http://bugs.java.com) 中没有找到该错误, 请通过 Java Bug 报告页 (http://bugreport.java.com) 建立该 Java 编译器 Bug。请在报告中附上您的程序和以下诊断信息。谢谢。 java.lang.AssertionError: annotationType(): unrecognized Attribute name MODULE (class com.sun.tools.javac.util.UnsharedNameTable$NameImpl)

XiaohaiBen avatar Aug 17 '21 06:08 XiaohaiBen

使用annotationProcessor而非kapt,Glide源码是使用的Java,使用kapt编译时无法找到Java代码的注解类:

annotationProcessor 'com.github.bumptech.glide:compiler:4.13.1'

iDeMonnnnnn avatar Mar 23 '22 07:03 iDeMonnnnnn

change implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.2.0' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0'
to implementation "androidx.lifecycle:lifecycle-viewmodel:2.2.0" implementation "androidx.lifecycle:lifecycle-livedata:2.2.0" solve mine problem

yunqiangshanbill avatar Apr 14 '22 06:04 yunqiangshanbill