错误
Task :training:compileDebugJavaWithJavac
/Users/leon/workspace/android/training/src/main/java/com/training/core/revision/ui/LiveTrainingUserItem.java:67: 错误: 无法访问RequestManager
circularImageView.loadNetWorkImage(userList.get(i).getAvatar(), R.drawable.person_70_70);
^
找不到com.bumptech.glide.RequestManager的类文件
解决
https://blog.csdn.net/u014453811/article/details/54582426
按照上面的方法还是没有定位到具体错误原因,后来想到gradle依赖导致
https://blog.csdn.net/soslinken/article/details/73114637
然后发现在training
模块依赖的basiclib
模块,而basiclib
模块是implementation glide
training build.gradle
implementation project("basiclib")
basiclib build.gradle
implementation deps.glide
所以导致training
模块找不到类文件