Reputation: 1214
I forgot to include this in Gradle -
compile 'com.android.support:recyclerview-v7:23.+'
But my project works fine without this record. So, why do I need to write it in Gradle? Can I use only appcompat?
compile 'com.android.support:appcompat-v7:23.2.0'
Upvotes: 5
Views: 456
Reputation: 15064
com.android.support:appcompat-v7
does not depend on com.android.support:recyclerview-v7
, but com.android.support:design
does.
There's no harm in including this dependency one more time in your build.gradle
, but it's not necessary since design
includes it.
Upvotes: 2