连接逍遥 cd c:\RuanJian\XiaoYao\Microvirt\MEmu adb.exe connect 127.0.0.1:21503
https://www.zhaoapi.cn/quarter/getAd
android.enableAapt2=false
PullToRefresh
com.handmark.pulltorefresh.library.PullToRefreshScrollView
HttpClient 第1种在android里面加
useLibrary 'org.apache.http.legacy'
在请求之前加
SSLSocketFactory.getSocketFactory().setHostnameVerifier(new AllowAllHostnameVerifier());
2. compile 'com.loopj.android:android-async-http:1.4.9'
//Glide 加载图片
implementation 'com.github.bumptech.glide:glide:4.7.1'
//Gson
implementation 'com.google.code.gson:gson:2.8.5'
//OkHttp
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
//OkhttpLogging
implementation 'com.squareup.okhttp3:logging-interceptor:3.9.0'
//ImageLoader加载图片
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
//CircleImageView
implementation 'de.hdodenhof:circleimageview:2.1.0'
//TabLayout
implementation 'com.android.support:design:26.+'
//recyclerView的依赖
implementation 'com.android.support:recyclerview-v7:27.+'
//xRecyclerView的依赖
implementation 'com.android.support:design:27.1.1'
implementation 'com.jcodecraeer:xrecyclerview:1.5.9'
//butterknife
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
//banner
implementation 'com.youth.banner:banner:1.4.10'
//Fresco
implementation 'com.facebook.fresco:fresco:1.9.0'
// Fresco 支持 GIF 动图,需要添加
implementation 'com.facebook.fresco:animated-gif:1.9.0'
volley
// implementation 'com.mcxiaoke.volley:library:1.0.19'
//二维码
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
implementation 'com.journeyapps:zxing-android-embedded:3.6.0'
库尅
implementation 'com.github.franmontiel:PersistentCookieJar:v1.0.1'
BRVAH
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
dependencies {
compile 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30'
}
//加载图片picasso
implementation 'com.squareup.picasso:picasso:2.71828' 2.5.2
上拉下拉
implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-14'
implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0-alpha-14'