java - Cannot find the symbol class R even after adding import com.example.app.R; -


i using intellij idea , tried build android application , giving error saying 'cannot find symbol class r' @ places used r in code. included 'import com.example.app.r' line in classes , code correct , showing no errors. checked file->project structure->modules , both gen , src included sources. me fix this.

could please try way

file-> invalidat caches/restart , click on invalidate , restart button.

sometimes, takes cache , screws operation, restarting , invalidating cache works, please try out , inform.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -