AndroidUtilCode icon indicating copy to clipboard operation
AndroidUtilCode copied to clipboard

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

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

## Describe the bug 卡点使用ToastUtil.show会导致应用崩溃 当应用某些时候卡点(并非故意,只是某些场景某些时候总是会卡上点),比如在activity死亡过程中,调用ToastUtil.show就是出现window has leaked (好像报一个ImageView内存泄漏) 的异常并且应用崩溃 A clear and concise description of what the bug is. - The version of AndroidUtilCode: - The device: - The...

bug

com.blankj:utilcodex:1.31.1 Android 33 具体代码 CrashUtils.init { crashInfo -> Log.i("------"); } 没有走回掉

bug

建议添加个调用hide api的方法,通过setHiddenApiExemptions方法来实现对hide api的调用

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

## 描述 Bug 某些Android设备上会出现`SDCardUtils.getSDCardInfo()`后报错 - AndroidUtilCode 的版本:utilcodex:1.31.1 - 出现 Bug 的设备型号:非品牌手机,OEM设备 - 设备的 Android 版本:API 22 ## 相关代码 ``` SDCardUtils.getSDCardInfo() ``` ## 异常堆栈 ``` java.lang.IllegalArgumentException: Invalid path: /mnt/usb_storage/USB_DISK0 at android.os.StatFs.doStat(StatFs.java:46)...

bug

StatFs should catch IllegalArgumentException in case the specified path is not accessible especially for external storage like TF/SD cards. Otherwise it would crash the process. Check the [crash report](https://github.com/Blankj/AndroidUtilCode/issues/1709)

## utilcode:1.30.6或1.31.1引入后启动应用就会在”SD卡/Android/media/“路径下创建对应包名的文件夹,未授权存储权限的情况下存在调用外部SD卡的读写权限的情况 在启动应用未调用任何初始化代码,也会触发创建文件夹得操作。 - AndroidUtilCode 的版本:utilcode:1.30.6和1.31.1 - 出现 Bug 的设备型号:所有设备 - 设备的 Android 版本:所有版本 ## 未调用初始化代码,只是引入到项目中 ``` implementation ('com.blankj:utilcodex:1.31.1') ``` ## 异常详情 ``` {"mkdir": "/storage/emulated/0/Android/media"} ``` ## 异常堆栈 ``` java.io.File.mkdir(File.java:1380)...

bug

## 描述 Bug 使用目标target_sdk=32 进行debug打包报错 Task :app:processDebugAndroidTestManifest FAILED 编译报错如下 ``` android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit...

bug

## 描述 Bug 简洁地描述下 Bug。 - AndroidUtilCode 的版本: - 出现 Bug 的设备型号: - 设备的 Android 版本: ## 相关代码 ``` put your code here ``` ## 异常堆栈 ``` put the stack...

bug

## 描述需求 获取当前fragment的前一个fragment ## 可借鉴的 FragmentUtils.getPreFragment 获取目标fragment的前一个fragment 之前版本有这个方法,现在怎么没呢?我使用以下方法都无法获取到栈内fragment的集合 getFragments : 获取同级别的 fragment getFragmentsInStack : 获取同级别栈中的 fragment getAllFragments : 获取所有 fragment getAllFragmentsInStack: 获取栈中所有 fragment 请指教,感谢

help wanted