Already did gradle rebuilding, syncing and cleaning of the project. Still it does not work. My Android studio version is 2.2.
            Asked
            
        
        
            Active
            
        
            Viewed 1,308 times
        
    0
            
            
        - 
                    4Go to file, click on **Invalidate cache and Restart** – nobalG Dec 02 '16 at 19:11
- 
                    sync gradle file in gradle scripts – misman Dec 02 '16 at 19:13
- 
                    this worked for me http://stackoverflow.com/a/16900473/1868008 – diedu Dec 02 '16 at 19:22
- 
                    1Possible duplicate of ["cannot resolve symbol R" in Android Studio](http://stackoverflow.com/questions/17054000/cannot-resolve-symbol-r-in-android-studio) – Bryan Dec 02 '16 at 19:47
- 
                    Are you 100% sure there's no error in one of your resource files? – Christine Dec 02 '16 at 20:28
- 
                    @nobalG already tried that, not working. – Samyak Jain Dec 03 '16 at 09:36
1 Answers
0
            
            
        Try following steps:
1) Invalidate cache and restart. 2) Check out your resource files ( in your case, check layout file ) 3) Place your cursor over "R" and import the suitable one for you.
 
    
    
        Samurai21
        
- 41
- 3

 
    