0

I want to use the design support library in one of my modules. The module is an Android library set as com.android.library. I included the following lines to the buil.gradle file:

compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'

but i get an error when i try to use the resources from the design library. "cannot find symbol class R" referred to android.support.design.R

Amit Vaghela
  • 22,162
  • 20
  • 85
  • 137
MineConsulting SRL
  • 2,299
  • 2
  • 16
  • 30

1 Answers1

0

File -> invalidate caches

then

Restart application

OR

Try Build > Rebuild Project

Amit Vaghela
  • 22,162
  • 20
  • 85
  • 137