chaychan / TouTiao

精仿今日头条
1.81k stars 583 forks source link

Cause: element == null #39

Open czl0325 opened 5 years ago

czl0325 commented 5 years ago
image

项目同步成功了,build也成功了,但是点真机运行出现这个?

522363215 commented 5 years ago

我也遇到这个问题,你解决了吗?

522363215 commented 5 years ago

001

glide 依赖项修改为: annotationProcessor 'com.github.bumptech.glide:compiler:4.2.0' api "com.github.bumptech.glide:glide:4.2.0"

jinjinv587 commented 4 years ago

我也遇到这个了啊,按照@522363215说的,能运行但是glide用不了啊,直接闪退,哎,服了

qzqs commented 4 years ago

我也是遇到这个问题,有人能解决么?

eaglecxs commented 3 years ago

修改UIKit 中的Gradle 为 //Android Support api "com.android.support:support-v4:27.1.1" api "com.android.support:appcompat-v7:27.1.1" api "com.android.support:recyclerview-v7:27.1.1" api "com.android.support:design:27.1.1"

//glide annotationProcessor 'com.github.bumptech.glide:compiler:4.2.0' api "com.github.bumptech.glide:glide:4.2.0"

ArjenDavid-sjtu commented 3 years ago

微信图片_20210302112445 闪退问题的解决方法:在 @eaglecxs 回答的基础上,将app:gradle文件中butterknife的依赖添加一项 annotationProcessor 'com.jakewharton:butterknife:7.0.1'