这个首先可以右键app文件夹,打开

      关于android studio中RecyclerView导入的问题

Open Module Settings。

关于android studio中RecyclerView导入的问题

关于android studio中RecyclerView导入的问题关于android studio中RecyclerView导入的问题单击ok.进入build.gradle.右上snyp now 

关于android studio中RecyclerView导入的问题

这个需要的东西就添加进去了。



ps:实在不行 直接贴代码:

implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
implementation 'com.android.support:recyclerview-v7:26.1.0'

相关文章:

  • 2022-12-23
  • 2021-10-11
  • 2021-09-17
  • 2021-05-15
  • 2021-09-09
  • 2021-06-23
  • 2022-12-23
猜你喜欢
  • 2021-09-01
  • 2021-12-03
  • 2021-05-09
  • 2021-12-24
  • 2021-09-27
  • 2022-01-14
  • 2021-07-16
相关资源
相似解决方案