随笔分类 - android第三方库
android,安卓,第三方库
摘要:一,代码例子: package com.example.okdemo1.interceptor; import android.content.Context; import android.content.Intent; import android.os.Handler; import andr
阅读全文
摘要:一,安装第三方库 库地址: https://mvnrepository.com/artifact/com.squareup.okhttp3/logging-interceptor 编辑 build.gradle,增加 // https://mvnrepository.com/artifact/com
阅读全文
摘要:一,代码: 接口返回的json格式 接口类 package com.example.okdemo1.interfaces; import com.example.okdemo1.model.BaseEntity; import com.example.okdemo1.model.UserListEn
阅读全文
摘要:一,安装第三方库 库地址: https://mvnrepository.com/artifact/com.squareup.retrofit2/retrofit 编辑build.gradle,添加 // https://mvnrepository.com/artifact/com.squareup.
阅读全文
摘要:一,安装第三方库: 第三方库地址: https://mvnrepository.com/artifact/me.jessyan/autosize 编辑build.gradle,添加: // https://mvnrepository.com/artifact/me.jessyan/autosize
阅读全文
摘要:一,安装第三方库 库地址: https://mvnrepository.com/artifact/com.github.li-xiaojun/XPopup 编辑build.gradle,添加: // https://mvnrepository.com/artifact/com.github.li-x
阅读全文
摘要:一,安装第三方库 https://mvnrepository.com/artifact/com.google.android.flexbox/flexbox 编辑build.gralde,添加: // https://mvnrepository.com/artifact/com.google.and
阅读全文
摘要:一,代码: xml:只有一个按钮 java: package com.example.okdemo1.activity; import android.content.Intent; import android.os.Bundle; import android.os.Environment; i
阅读全文
摘要:一,安装第三方库 库地址 https://mvnrepository.com/artifact/com.github.nanchen2251/CompressHelper 编辑 build.gradle,添加 // https://mvnrepository.com/artifact/com.git
阅读全文
摘要:一,报错信息 Failed to resolve: com.github.tbruyelle:rxpermissions:0.12 Show in Project Structure dialog Affected Modules: app 二,原因 需要把它所属的仓库添加到我们的gradle中但点
阅读全文
摘要:一,配置 在AndroidManifest.xml中添加FileProvider,如下: <provider android:name="androidx.core.content.FileProvider" android:authorities="com.example.okdemo1.file
阅读全文
摘要:一,报错信息: 编译时报错: Failed to resolve: com.zhihu.android:matisse:0.5.3-beta3 二,解决: 在settings.gradle中添加: maven { url 'https://jitpack.io' } maven { url 'htt
阅读全文
摘要:一,安装第三方库 库地址: https://mvnrepository.com/artifact/com.zhihu.android/matisse 编辑 build.gradle,添加: // https://mvnrepository.com/artifact/com.zhihu.android
阅读全文
摘要:一,安装第三方库 库地址: https://mvnrepository.com/artifact/androidx.media3/media3-exoplayer 在build.gradle中添加: implementation "androidx.media3:media3-exoplayer:1
阅读全文
摘要:一,安装第三方库 官方地址: https://mvnrepository.com/artifact/com.github.hackware1993/MagicIndicator 编辑 build.gradle,添加: // https://mvnrepository.com/artifact/com
阅读全文
摘要:一,报错信息 * What went wrong: Execution failed for task ':app:mergeDebugNativeLibs'. > Could not resolve all files for configuration ':app:debugRuntimeCla
阅读全文
摘要:一,报错信息 Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not foun
阅读全文
浙公网安备 33010602011771号