Common project dependency summary

Posted by texhead on Mon, 16 Dec 2019 23:17:32 +0100

Every time I take over a new project, I see a lot of dependencies without comments. Some of them are hard to remember. I have to look up their meanings on the Internet for a long time every time, so I will read them when I write this article for later development to improve the development efficiency.

  • Edited on October 12, 2018

v4 v7 package

    //V4 support package
    compile('com.android.support:support-v4:23.2.0') {
        exclude module: 'support-v4'
    }

    //V7 support package
    compile 'com.android.support:appcompat-v7:23.2.0'

Control (rotate, refresh, slide, copy, guide, etc.)

    //TextView supports text copy
    compile 'me.codeboy.android:align-text-view:2.3.0'

    //RecycleView slide control
    compile('com.android.support:recyclerview-v7:23.2.0') {
        exclude module: 'support-v4'
    }

    //Picture carousel Library
    compile 'com.flyco.banner:FlycoBanner_Lib:1.1.8@aar'
    //banner
    compile 'com.youth.banner:banner:1.4.10'

    //Refresh layout effects
    compile files('libs/AndroidSwipeLayout-v1.1.6.jar')

    //The open source library of welcome page is mainly used for making guide page
    compile 'com.github.paolorotolo:appintro:3.4.0'

    //Red dot of badge control message
    compile files('libs/android-viewbadger.jar')

    //GifView
    compile 'com.github.Cutta:GifView:1.1'

    //CityPicker address selector
    implementation 'com.zaaach:citypicker:2.0.1'  

Load frame (picture, network)

    //Picture loading frame
    //facebook's image loading framework
    compile 'com.facebook.fresco:fresco:0.6.0+'
    //glide  
    implementation 'com.github.bumptech.glide:glide:4.7.1'  
    annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
    //imageloader
    compile 'com.zftlive.android.library:feature-android-imageloader:1.0.0'

    //Network loading framework
    //okhttp  
    implementation 'com.squareup.okhttp3:okhttp:3.10.0'  
    //okhttp log interceptor  
    implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0' 
    // okio
    compile 'com.squareup.okio:okio:1.11.0'
    // Network request
    compile 'org.apache.httpcomponents:httpcore:4.4.2'

data base

    //LitePal database
    compile 'org.litepal.android:core:1.4.1'

animation

    //Animation effect function
    compile 'com.nineoldandroids:library:2.4.0'

QR code

    // QR code scanning function
    compile 'com.google.zxing:core:3.0.1'

Json analysis

    //Json parsing function
    compile files('libs/gson-2.2.2.jar')
    compile files('libs/fastjson-1.1.40.jar')

    //The converter converts the result to a model through gson  
    implementation 'com.squareup.retrofit2:converter-gson:2.3.0' 

RX

    //rxjava  
    implementation 'io.reactivex.rxjava2:rxjava:2.1.1'  
    //rxandroid  
    implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'  
    //Use with Rxjava  
    implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'  

    //xrecyclerview
    compile 'com.jcodecraeer:xrecyclerview:1.5.9'

Event distribution

    //Event distribution, message mechanism
    compile files('libs/event.jar')
    //eventBus  
    implementation 'org.greenrobot:eventbus:3.1.1'

Baidu, Tencent, Alibaba

    //Baidu
    //Baidu map function
    compile files('libs/BaiduLBS_Android.jar')
    
    //tencent
    //Tencent's application, Caton and crash tracking monitoring are used to improve the crash of app quality
    compile 'com.tencent.bugly:crashreport:2.1.1'

    //Ali
    //Android bug hot fix framework developed by Alibaba
    compile 'com.alipay.euler:andfix:0.4.0@aar'
    //Tongdun service, used to solve payment security problems
    compile files('libs/fraudmetrix-2.0.9.jar')
    //Alipay payment function
    compile files('libs/alipaysecsdk.jar')
    compile files('libs/alipaysdk.jar')

Statistics of the Alliance

    //Statistics and analysis function of the Alliance
    compile files('libs/umeng-analytics-v5.2.4.jar')
    //Social sharing function of the Alliance    
    compile files('libs/umeng_social_sdk.jar')
    //Instant messaging function 
    compile files('libs/utdid4all-1.0.4.jar')
    //User feedback function of the Alliance
    compile files('libs/umeng-feedback-v4.3.jar')
    //News push function of the Alliance
    compile files('libs/com.umeng.message.lib.jar')

Other third parties

    //Function of customer service system of small energy technology
    compile project(':XiaonengChatUI')

Other tools

    //The number of Dex file methods exceeds the maximum of 65536
    compile 'com.android.support:multidex:1.0.0'

    //Gesture interactive open source library dragtoplayout
    compile 'com.github.chenupt.android:dragtoplayout:1.2.1@aar'

    //Media services
    compile files('libs/mediaservice-4.0.4.jar')

    //Delay depth link
    compile files('libs/deepshare-v2.0.9.jar')

    //Crash has a great impact on the user retention rate, reputation and revenue of mobile applications! User retention.
    //DeepShare is an SDK based on deferred deeplink. It can reduce the cross platform and cross page jump when users use App, and allow direct access from Web end to App end content.

 

reference resources:

Some common project dependencies https://blog.csdn.net/chenrushui/article/details/51892071

Android common dependencies https://blog.csdn.net/qq_19681347/article/details/80027208

 

 
 
 

Topics: Android github network OkHttp