AndroidUtilCode icon indicating copy to clipboard operation
AndroidUtilCode copied to clipboard

:fire: Android developers should collect the following utils(updating).

Results 234 AndroidUtilCode issues
Sort by recently updated
recently updated
newest added

Someone else should update readmes &c.

目前在activity全屏使用显示没问题,不用setBottomMargin。但是在非全屏BottomNavigationView界面下,无法完整显示Snackbar,使用setBottomMargin也没法把Snackbar上移

bug

## 描述 Bug 使用TimeUtils.getFriendlyTimeSpanByNow()返回时间不合法,参数是"2022-04-22 17:07:19",返回结果是 周五 4月 22 17:07:19 GMT+08:00 2022 - AndroidUtilCode 的版本:com.blankj:utilcodex:1.30.6 - 出现 Bug 的设备型号:华为P30 Pro - 设备的 Android 版本:API29 ## 相关代码 ``` TimeUtils.getFriendlyTimeSpanByNow(item.getCreateAt()); ```

bug

oppo findx3 android12 colorOS12.1 会一直提示 应用需要打开或关闭WLAN对话框,无论点击允许还是拒绝都会一直弹。 原因是因为getMacAddress()里面的 setWifiEnabled(true);setWifiEnabled(false); 的原因,怎么解决呢

bug

## Describe the bug A clear and concise description of what the bug is. - The version of AndroidUtilCode: - The device: - The version of device: ## The code...

bug

在调用UriUtils.file2Uri(file)时候报的一个错误。线上统计的都是微信或者QQ目录下的错误 Thread Name: 'main' Back traces starts. java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/999/Pictures/WeiXin/mmexport1632153804305.jpg at androidx.core.content.FileProvider$SimplePathStrategy.getUriForFile(FileProvider.java:744) at androidx.core.content.FileProvider.getUriForFile(FileProvider.java:418) at com.blankj.utilcode.util.UriUtils.file2Uri(UriUtils.java:61)

bug

## 描述 Bug 简洁地描述下 Bug。 - AndroidUtilCode 的版本:utilcode:1.30.0 - 出现 Bug 的设备型号:OPPO R7s Plus - 设备的 Android 版本:5.1.1 ## 异常堆栈 ``` AdaptScreenUtils: getMetricsFromField: java.lang.ClassCastException: java.lang.Object cannot be cast to android.util.DisplayMetrics...

bug

## 描述 Bug 在EMUI和鸿蒙OS的小窗模式下,使用AdaptScreenUtils的屏幕适配方案会导致UI显示异常,使用pt作为单位的UI元素会变得非常大。 - AndroidUtilCode 的版本:1.29.0 - 出现 Bug 的设备型号:华为Mate 20、华为P40、荣耀V40 - 设备的 Android 版本:鸿蒙2.0.0 ## demo中使用屏幕适配方案页面的截图 正常使用: ![image](https://user-images.githubusercontent.com/4060489/123061454-3d832d80-d43e-11eb-9470-98890a2088aa.png) 悬浮窗模式下: ![image](https://user-images.githubusercontent.com/4060489/123061470-41af4b00-d43e-11eb-85ea-b8d5da0f819b.png)

bug

如果您和您的公司或组织使用了 AndroidUtilCode ,非常感谢您的支持,欢迎留下公司或产品名,您的回复将成为维护者、社区用户和观望者的信心来源。 推荐回复格式: ``` - 产品: - 公司或组织:(如果可以) - 链接:(如果可以) ``` *** We appreciate you support if you or your organization is using AndroidUtilCode. You are welcome to leave...

wontfix

使用版本 com.blankj:utilcodex:1.31.0 2022-04-25 19:35:34.140 5415-5415/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.landleaf.screenStandard, PID: 5415 java.lang.RuntimeException: Unable to get provider com.blankj.utilcode.util.UtilsFileProvider: java.lang.ClassNotFoundException: Didn't find class "com.blankj.utilcode.util.UtilsFileProvider" on path: DexPathList[[zip file "/data/app/com.landleaf.screenStandard-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.landleaf.screenStandard-1, /vendor/lib,...

bug