Um auch die RecyclerView Sie in Ihrem build.gradle
hinzufügen:
compile 'com.android.support:recyclerview-v7:26.0.2'
I recyclerview Paket in Maven und jcenter gesucht haben, aber bekommen keine Ergebnisse.
Die recyclerview wurde im SDK-Manager (so lokal) enthalten. Nun, da die 25.4.0 die RecyclerView Bibliothek wird in der Google Maven Repo eingesetzt und erfordert:
allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
}
Wie kann ich alle früheren Versionen von recyclerview wissen?
Sie können die list here finden und die old versions here:
Sie können auch finden other info here:
//it requires compileSdkVersion 26
//it requires to add the google maven repo
// maven {
// url "https://maven.google.com"
// }
compile 'com.android.support:recyclerview-v7:26.0.2'
compile 'com.android.support:recyclerview-v7:26.0.1'
compile 'com.android.support:recyclerview-v7:26.0.0'
//it requires compileSdkVersion 25
compile 'com.android.support:recyclerview-v7:25.4.0'
compile 'com.android.support:recyclerview-v7:25.3.1'
compile 'com.android.support:recyclerview-v7:25.3.0'
compile 'com.android.support:recyclerview-v7:25.2.0'
compile 'com.android.support:recyclerview-v7:25.1.1'
compile 'com.android.support:recyclerview-v7:25.1.0'
compile 'com.android.support:recyclerview-v7:25.0.0'
//it requires compileSdkVersion 24
compile 'com.android.support:recyclerview-v7:24.1.1'
compile 'com.android.support:recyclerview-v7:24.1.0'
//it requires compileSdkVersion 23
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.android.support:recyclerview-v7:23.3.0'
compile 'com.android.support:recyclerview-v7:23.2.1'
compile 'com.android.support:recyclerview-v7:23.2.0'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.0'
compile 'com.android.support:recyclerview-v7:23.0.1'
compile 'com.android.support:recyclerview-v7:23.0.0'
//it requires compileSdkVersion 22
compile 'com.android.support:recyclerview-v7:22.2.1'
compile 'com.android.support:recyclerview-v7:22.2.0'
compile 'com.android.support:recyclerview-v7:22.1.1'
compile 'com.android.support:recyclerview-v7:22.1.0'
compile 'com.android.support:recyclerview-v7:22.0.0'
//it requires compileSdkVersion 21
compile 'com.android.support:recyclerview-v7:21.0.3'
compile 'com.android.support:recyclerview-v7:21.0.2'
compile 'com.android.support:recyclerview-v7:21.0.0'
Wer hat dir gesagt, dass die Bibliothek recyclerView zu benutzen? Die richtige Bibliothek ist com.android.support:recyclerview-v7:25.3.1 – Rachit