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
Post a Comment