compile 'io.reactivex:rxjava:1.1.0'
Firstly find the jar file in https://www.versioneye.com/java/
Then, copy it to app/libs.
Since there is
compile fileTree(dir: 'libs', include: ['*.jar'])
, there is no extra need.
If it is aar file, add
repositories{ flatDir{ dirs 'libs' } }
and
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile fileTree(dir: 'libs', include: ['*.jar']) compile project(':SkyconsLibrary') compile project(':MPChartLib') compile(name:'rxandroid-1.1.0', ext:'aar') compile(name:'rxpermissions-0.7.0', ext:'aar') compile 'com.android.support:appcompat-v7:23.0.1' compile 'com.android.support:recyclerview-v7:23.0.1' compile 'com.android.support:design:23.0.1' }