i try to add recyclerview to my project and get this error appear and i added it from android studio dependencies
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
May be this problem is due to facebook library. Replace
by
Google's new Maven repo is required for the latest support library that is compatible with Android 8.0. Just update your Google's Maven repository like below:
To add them to your build, add
maven.google.com
to the Maven repositories in your module-levelbuild.gradle
file:Alternative you can update
build.gradle
file like this:Then add the desired library to your dependencies block. For example, the cardview library looks like this:
Use
compile 'com.android.support:cardview-v7:25.4.0'
If you want version 26 you should use
compile 'com.android.support:cardview-v7:26.0.0-beta2'
, because it is beta for nowtry to compile
Starting from version 26 of support libraries make sure that the
repositories
section includes a maven section with the "https://maven.google.com" endpoint.Something like;
Update your Android Support Repository from sdk manager.