Android笔记
Android整理出来的笔记参考
图标工场
移动应用图标生成工具,一键生成所有尺寸的应用图标 https://icon.wuruihong.com/#/ios
工具库
-沉浸式状态条
https://github.com/laobie/StatusBarUtil
implementation ‘com.jaeger.statusbarutil:library:1.5.1’
– multidex
https://developer.android.com/studio/build/multidex?hl=zh-cn
implementation ‘com.android.support:multidex:1.0.3’
-圆形进度条 circularprogressbar
https://github.com/lopspower/CircularProgressBar
implementation ‘com.mikhaellopez:circularprogressbar:1.1.1’
动画
-lottie
https://www.lottiefiles.com/ https://github.com/airbnb/lottie-android
implementation ‘com.airbnb.android:lottie:2.5.5’
问题排错:
1. 代理问题
You have JVM property “https.proxyHost” set to …. This may lead to incorrect behavior. Proxy should be set in Settings|HTTP Proxy
俩种方法解决:
1,在系统偏好-》网络-》找到对应的连接网络-》高级-》代理中去除勾选解决。(似乎不太靠谱,因为当时是开着蓝灯,在去除后AS中错误提示是没了,但是蓝灯是用不了)
2,根据stackOverflow 上的回答,打开终端,输入指令:JAVA_OPTS=”$JAVA_OPTS -DsocksProxtPort” ,之后AS File->invalitDate caches/restart 之后就差不多好使了
2. 系统库找不到, 例如找不到 AppCompatActivity 这个时候是因为Android库导入有问题
处理办法: 删除掉项目下的 .idea 目录,重启 Android Studio rm -rf .idea
3.使用Keytool获取SHA1值 ,指令如下
keytool -v -list -keystore zhaisoft.keystore
1 Comment
Join the discussion and tell us your opinion.
从百度点进来的,学习学习,呵呵!