Quantcast
Channel: 懒得折腾
Viewing all articles
Browse latest Browse all 764

Android Studio remove remote repository

$
0
0
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'
}


Viewing all articles
Browse latest Browse all 764

Trending Articles