I am working on an android project that used Gradle 2.3.3
(at this point, there was no compiling issues). I upgraded Gradle to version 3.0.1
, and made the required adjustments.
I removed retrolambda. I changed the keywords to use the new dependency configurations.
But my project doesn't compile, because it seems that android.R.*
elements are not found anymore. The errors I have are :
Error:(524, 27) error: cannot find symbol variable id
Error:(625, 122) error: cannot find symbol variable id
Error:(74, 63) error: cannot find symbol variable color
on the following ids : android.R.id.home
, and android.R.color.white
.
What changed on Gradle 3.0.1 that could have triggered these errors ?
EDIT : I already tried to clear/invalidate caches, restart, sync Project with gradle files, clean, rebuild... A coworker tried to compile the code on his computer : same error - it doesn't look like it is a cache issue.