关于android studio中RecyclerView导入的问题
这个首先可以右键app文件夹,打开
Open Module Settings。
单击ok.进入build.gradle.右上snyp now
这个需要的东西就添加进去了。
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'