I have Android 5.0 and the latest version of Android Support Libraries (21.0.2). I am trying to access CardView and RecyclerViews in Android. When I add:
compile 'com.android.support:cardview-v7:21.0.+'
compile 'com.android.support:recyclerview-v7:21.0.+'
for build.gradle dependecies applications, I get errors:
Failed to find: com.android.support:cardview-v7:21.0.+
and
Failed to find: com.android.support:recyclerview-v7:21.0.+
I am not sure why this is so. This is the only way to see how people do it (and this is the method suggested on the Google website here ). After that, I can not do CardViews or RecyclerViews in my project.
I also checked the sdk folder for Android:
C: > ... > android-sdk > extras > android > support > v7
and both the directories 'cardview' and 'recyclerview' are with all the files in them.
, ...
- , , , !