06 2020 档案
摘要:今天在导入工程的时候Cmake一直报错 Could not get version from cmake.dir path XXXX 然后试了网上很多方法修改版本,检查NDK 都没卵用 遇到这个问题,首先 1 检查你Cmake有么有安装,这个在SDKManager里可以查看 2 检查你的local.
阅读全文
摘要:/** * 毛玻璃模糊算法 */ public static Bitmap doBlur(Bitmap sentBitmap, int radius, boolean canReuseInBitmap) { Bitmap bitmap; if (canReuseInBitmap) { bitmap
阅读全文
摘要:有时候RecyclerView将无法触发Coordinatorlayout的抽屉效果 为什么呢 原因 ① 有可能RecyclerView 的item类目过少,RecyclerView本身不需要滑动 解决办法:RecyclerView可以手工设置 marginBottom 一个长度如200dp,这样可
阅读全文
摘要:public class CrashUtils implements Thread.UncaughtExceptionHandler{ public static final String TAG = "CrashHandler"; //系统默认的UncaughtException处理类 priva
阅读全文