(版本根据自己的版本更改)
常用权限
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
常用依赖
//butterknife
compile 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
//imageloader
compile ‘com.nostra13.universalimageloader:universal-image-loader:1.9.5’
//recyclerview
compile 'com.android.support:recyclerview-v7:26.0.0-alpha1'
compile 'com.jcodecraeer:xrecyclerview:1.2.0'
//glide
compile 'com.github.bumptech.glide:glide:3.7.0'
//gson
compile 'com.google.code.gson:gson:2.8.2'
//okhttp3
compile 'com.squareup.okhttp3:okhttp:3.9.0'
compile 'com.github.orangegangsters:swipy:1.1.0'
//rxjava2
compile "io.reactivex.rxjava2:rxjava:2.1.1"
compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
//retrofit2
compile 'com.squareup.retrofit2:retrofit:2.3.0'
compile 'com.squareup.retrofit2:converter-gson:2.3.0'
compile 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
//fresco
compile 'com.facebook.fresco:fresco:0.12.0'5’
//eventbus
compile 'org.greenrobot:eventbus:3.1.1'
//jiecaovideoplayer
compile 'fm.jiecao:jiecaovideoplayer:5.5'
//ijkplayer
compile 'com.github.leifzhang:IjkLib:0.4.3'
compile 'com.dou361.ijkplayer:jjdxm-ijkplayer:1.0.5'
//cardview
compile 'com.android.support:cardview-v7:26.+'
//BottomTabBar
compile 'com.hjm:BottomTabBar:1.1.1'