Tôi cố gắng để chạy sau dự án: https://github.com/amitshekhariitbhu/RxJava2-Android-SamplesKhông thể giải quyết RXJava phụ thuộc
Các depencies là:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.1.1'
compile 'io.reactivex.rxjava2:rxjava:2.0.0'
compile 'io.reactivex.rxjava2:rxandroid:2.0.0'
}
Nhưng tôi nhận được lỗi sau.
Error:(26, 13) Failed to resolve: io.reactivex.rxjava2:rxandroid:2.0.0 Show in File
Show in Project Structure dialog
Tôi có làm gì sai không?
xây dựng lại dự án của bạn và thử lại –
nó đang làm việc cho tôi ... –
ok tôi đã không thay đổi bất cứ điều gì ... nhưng tất cả của một đột ngột nó chỉ hoạt động. được. – drlobo