上一页 1 2 3 4 5 6 7 ··· 19 下一页
摘要: 新版Android Studio 4.2的Gradle插件不显示Tasks列表问题 🍎 取消勾选后重新Sync Android Template Project 👉 github.com/javakam/And… 阅读全文
posted @ 2021-05-10 15:51 javakam 阅读(0) 评论(0) 推荐(0)
摘要: Windows杀毒软件导致 Android Studio 构建项目时间太长的问题 Your anti-virus program might be impacting your build performance. Android Studio checked the following direc 阅读全文
posted @ 2021-05-06 10:55 javakam 阅读(0) 评论(0) 推荐(0)
摘要: Android 测量文本宽度方式 val str = "hello world" val paint = TextPaint() paintEnd.textSize = xxx paintEnd.typeface = xxx 1.measureText 🍎 该方式会受到 文字大小(textSize 阅读全文
posted @ 2021-04-30 12:31 javakam 阅读(0) 评论(0) 推荐(0)
摘要: SDK下载 👉 developer.umeng.com/sdk/android… 社会化分享 👉 developer.umeng.com/docs/128606… 推送 👉 developer.umeng.com/docs/67966/… 统计、推送、分享三合一组件化SDK集成Demo 👉 阅读全文
posted @ 2021-04-15 16:40 javakam 阅读(0) 评论(0) 推荐(0)
摘要: 1. 工具下载👉developer.harmonyos.com/cn/develop/… 2. Ability和Library的区别即 HarmonyOS Library和Java Library的区别 3. 发布Har包到Maven仓库👉developer.harmonyos.com/cn/d 阅读全文
posted @ 2021-04-13 16:22 javakam 阅读(0) 评论(0) 推荐(0)
摘要: File.renameTo 不生效问题 情形 : 将audio.m4s 重命名为 audio.mp3 旧路径: /storage/emulated/0/Android/data/xxx.xxx.xxx/audio.m4s 新路径: /storage/emulated/0/Android/data/x 阅读全文
posted @ 2021-04-07 12:44 javakam 阅读(0) 评论(0) 推荐(0)
摘要: Android托管aar新方案MavenCentral 2021年5月1日后, Bintray 、JCenter将不能使用, Google采用mavenCentral作为替代。 Into the Sunset on May 1st: Bintray, JCenter, GoCenter, and C 阅读全文
posted @ 2021-04-06 10:51 javakam 阅读(0) 评论(0) 推荐(0)
摘要: NestedScrollingChild NestedScrollingChild2 NestedScrollingChild3 NestedScrollingChildHelper NestedScrollingParent NestedScrollingParent2 NestedScrolli 阅读全文
posted @ 2021-03-31 16:20 javakam 阅读(0) 评论(0) 推荐(0)
摘要: Fragment切换过程中会导致闪屏/闪烁的问题, 原方法为 : private void switchPages(int index) { if (ListUtils.isEmpty(mFragments)) { return; } FragmentManager fragmentManager 阅读全文
posted @ 2021-03-17 14:51 javakam 阅读(0) 评论(0) 推荐(0)
摘要: Android找不到aar中Kotlin扩展函数的方法 1.问题的出现: 在把library上传到bintray后, 发现使用时找不到Kotlin扩展函数中的方法, 于是又试了试打包成本地aar文件后再依赖, 发现仍然找不到方法. 但是如果通过implementation project(':xxx 阅读全文
posted @ 2021-03-04 12:23 javakam 阅读(0) 评论(0) 推荐(0)
摘要: 自己写的一些库。github.com/javakam/And… GitHub github.com/javakam/And… Ando Toolkit 工具集 (152KB) gitee_client_android👉github.com/javakam/git… implementation ' 阅读全文
posted @ 2021-03-02 17:10 javakam 阅读(0) 评论(0) 推荐(0)
摘要: * What went wrong: Execution failed for task ':sample_java:lint'. > Lint found errors in the project; aborting build. Fix the issues identified by lin 阅读全文
posted @ 2021-03-02 15:00 javakam 阅读(0) 评论(0) 推荐(0)
摘要: 1.module.gradle plugins { id 'kotlin-parcelize' ... } 2.use @Parcelize data class FileSelectResult( var fileType: FileType?, var mimeType: String?, va 阅读全文
posted @ 2021-01-21 15:48 javakam 阅读(0) 评论(0) 推荐(0)
摘要: 点击 Go to Old Look 切换为旧版 好了 上传到jCenter会有个把小时的延时 阅读全文
posted @ 2021-01-20 13:07 javakam 阅读(0) 评论(0) 推荐(0)
摘要: MethodSignKotlinUtils(Kotlin) 需要依赖: implementation "org.jetbrains.kotlin:kotlin-reflect:1.4.21" import kotlin.reflect.KClass import kotlin.reflect.ful 阅读全文
posted @ 2021-01-19 17:11 javakam 阅读(0) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 19 下一页