ResoCoder / forecast-mvvm-android-kotlin

Forecast MVVM app as found in the free course.
https://www.youtube.com/playlist?list=PLB6lc7nQ1n4jTLDyU2muTBo8xk0dg0D_w
339 stars 163 forks source link

Latest not compiling R? #1

Closed emitchel closed 5 years ago

emitchel commented 5 years ago

This is a commonly solved issue, but after updating your dependencies and digging through your xml files, I can't see what is preventing the R class from compiling. Invalidated the cache, restarted, deleted .idea and build folders. Not sure if I'm alone in this either

parham29 commented 5 years ago

Just replace this code in your build.gradle(project) classpath 'com.android.tools.build:gradle:3.2.1' This will solve your problem

emitchel commented 5 years ago

Thanks 🤔 after reverting to 3.2.1, deleting the .gradle folder, and resyncing - it compiles.