自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(138)
  • 资源 (19)
  • 问答 (1)
  • 收藏
  • 关注

原创 真机调试HarmonyOS应用报错

真机调试HarmonyOS应用报错Failure[MSG_ERR_INSTALL_FAILED_NO_BUNDLE_SIGNATURE]Open signing configs

2024-01-04 19:34:01 949

原创 python pytesseract 中文文字批量识别

用pytesseract 来批量把图片转成文字

2023-09-17 14:08:57 446

原创 IDEA 设置文件头的注释信息author,date,description

IDEA 设置文件头的注释信息author,date,description

2023-07-02 11:23:08 545

原创 BeanFactory not initialized or already closed - call ‘refresh‘ before accessing beans via the Applic

spring启动报错:BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the Applic

2022-07-23 08:30:07 1132 1

原创 mysql 页面查询结果字符乱码

mysql在安装和设置字符集的方法方面网上已有很多,这里就暂时不写了,本次遇到的问题是由于两个问题撞在一起了,在解决问题时,刚开始一直以为是同一个问题影响,所以记一下,方便大家快速定位一、页面展示结果:二、排查:show variables like '%character%';show variables like 'collation%';数据库设置和表结构都是UAT-8三、解决问题1:应用的数据库链接jdbc_url 加上配置&...

2022-04-10 10:22:29 426

原创 gitLab下载安装和使用教程

gitLab下载安装和使用教程

2022-03-27 11:06:08 14205 1

原创 python运行报error:please select a valid Python interpreter

今天在电脑上安装了一个PyCharm Community Edition 2021.3.2 来学习一下python,可能太着急,安装写一个demo就准备运行看看,结果就报:error:please select a valid Python interpreter解决方式是:按下面情况直接点OK,是不行的原来是我还没有下载python运行环境,PyCharm 只是一个IDEPython Releases for Windows...

2022-03-09 23:36:16 1866

原创 h5给input元素type=file的对象赋值报错

Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string <input type="file" class=" form-control hide" placeholder="文件地址" id="filePath" />$("#f.

2022-02-20 15:42:17 1287

原创 nested exception is java.lang.IllegalArgumentException: dataSource or dataSourceClassName or jdbcUrl

ror starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2022-01-23 21:35:05.177 ERROR 2404 --- [ main] o.s.boot.SpringApplication : Application run failedorg.springframework....

2022-01-23 21:56:26 5541

原创 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught think\exception\ErrorException fail

系统运行一直正常,但在2021跨到2022的元旦时节,出问题了,经查询报错FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught think\exception\ErrorExceptionfailed to open stream: Permission denied#0 [internal function]: think\Error::appError(2, 'error_log(/www/...', '/www...

2022-01-01 16:45:44 3908

原创 启动报错 Caused by: com.mysql.cj.exceptions.UnableToConnectException: CLIENT_PLUGIN_AUTH is required

本地数据库:select version(); -- 查看数据库版本5.0.18-ntCaused by: com.mysql.cj.exceptions.UnableToConnectException: CLIENT_PLUGIN_AUTH is required at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_66] at sun.reflect.NativeCon

2021-12-26 21:16:47 3914

原创 git使用教程

git常见使用教程 Git 是一个开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目。 Git 是 Linus Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。git 项目管理在需要git管理的地方 创建文件夹git init; //初始化目录中创建GIT文件,来管理目录下的所有文件需要配置:$ git config --global user.email"xxx@13...

2021-10-24 23:43:16 2647

原创 GIT软件win10安装教程

Git - Downloading Package window64 下载地址傻瓜式安装这个地方如果你电脑安装了notepad++ 可以改一下一路下一步

2021-10-10 15:30:46 171

原创 android中Handler使用教程

1、背景2、源码3、使用4、原理/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licen

2021-07-26 16:43:05 993

原创 android使用shape自定义Switch组件

Switch 组件在日常生常中比较常用,尤其是在配置页面网上也有很多自定义的例子,主要是原生的太。。。;用图片,在适配中,经常出现拉伸变形的情况, 试着用一下强大的shape话不多说,上代码UI xml <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin

2021-07-24 16:33:11 356 2

原创 Establishing SSL connection without server‘s identity verification is not recommended

mysql升级,由5.5升级为5.7版本,启动服务报错2021-07-19 11:23:08.847 INFO 13632 --- [nio-9010-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms2021-07-19 11:23:15.097 INFO 13632 --- [nio-9010-exec-5] com.zaxxer.hikari.HikariData...

2021-07-19 12:00:50 1924

原创 Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class is `com.mysql.cj.jdb

eclipse启动springboot项目报Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary..

2021-07-19 11:21:41 136

原创 安装mysql-5.7.25时报error while loading shared libraries: libcrypt.so.1: cannot open shared object file:

安装mysql5.7时报 error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory方案1yum install -y libcryptui-develyum install -y libcryptui-devel.i686yum install -y libcryptui-devel.x86_64安装到下面这个时未成功

2021-07-17 15:22:24 2788

原创 springboot打包排除掉resources下的html,css,js,jpg图片等资源文件

用eclipse做springboot项目时,由于生产上是动静态分离配置,jar文件中不需要html,css,js等静态文件解决办法是:在pom.xml文件中加入配置指定排除的部分 <resources> <resource> <directory>src/main/resources</directory> <excludes>

2021-07-16 17:48:34 2008

原创 Waiting up to 10s to lock out/.lock to ensure no other Soong process is running in the same output

android9原码编译报错mmm packages/apps/Launcher3/media/disk_hd8t/qcom/SC200Y/packages/apps/Launcher3Restriction Checker not present, skipping..14:46:28 Waiting up to 10s to lock out/.lock to ensure no other Soong process is running in the same output dire.

2021-07-13 19:36:34 3474 2

原创 java数组复制System.arraycopy

System.arraycopy 是个本地库函数 /** * src 数组源 * srcPos 数组起始位置 * dest 目标数据(最终想得到的数据存放的数组) * destPos 启始位置 * length 需要取的数组元个数 */ System.arraycopy(src, srcPos, dest, destPos, length);例子:1、取...

2021-07-08 16:39:43 189

转载 YUV详解数据和格式

阅读目录一、YUV简介 二、历史 三、常用的YUV格式 四、存储方式 (1) YUVY 格式 (属于YUV422) (2) UYVY 格式 (属于YUV422) (3) YUV422P(属于YUV422) (4)YV12,YU12格式(属于YUV420) (5)NV12、NV21(属于YUV420) 正文我们在讲 FFmpeg 系列的时候,有提到 YUV 的。其中包括YUV播放器、简单的YUV格式介绍。回到顶部一、YUV简介YUV,是一种颜色编码方法。常使

2021-07-08 10:31:43 4695

原创 YUV视频流生成转成jpg图片

android9系统相机Camera类的PreviewCallback回调中,这个接口回调的是相机的预览图片,是YUV格式的数据,这是,利用YuvImage对象的compressToJpeg方法生成Jpeg格式的图片保存在本地。主要参数解析new YuvImage(data, ImageFormat.NV21, width, height, null);format:压缩格式,目前仅支持ImageFormat.NV21与ImageFormat.YUY2两个格式。width:Yuv

2021-07-07 17:28:10 3920 1

原创 Java中interrupt的使用和线程中断

停止一个线程的主要机制是中断,中断并不代表强迫终止一个线程,它是一种协作机制,是给线程传递一个取消的信号,但是让线程来决定如何以及何时退出。出现死锁,interrupt无法中断package demo.thread;public class ThreadTest { /** * 完全中止线程 -正确做法 * * 如果线程里面出现死锁并一直处于等待 interrupt就 中止不了了 */ private static volatile boolean ...

2021-07-02 15:46:15 146

原创 SE6模块引用报错(index):20 Uncaught SyntaxError: Cannot use import statement outside a module

SE6模块引用报错(index):20 Uncaught SyntaxError: Cannot use import statement outside a module<script type="module">//import [aa] from "a";import * as A from "/a.js";alert(A.aa);</script>错误原因:  从报错信息中获知:无法在模块外部使用 import语句。这是因为模块化(Modul...

2021-07-01 19:52:42 262

原创 Android 使用room报错here are multiple good constructors

\app\src\main\java\com\mw\app\demo\room\ProductVO.java:10: ����: There are multiple good constructors and Room will pick the no-arg constructor. You can use the @Ignore annotation to eliminate unwanted constructors.public class ProductVO { ^大致...

2021-07-01 14:56:36 2740

原创 android9反射失败api被隐藏了You have tried to change the API from what has been previously approved.

android9反射失败api被隐藏了,修改源码后报:You have tried to change the API from what has been previously approved.android 反射创建SharedMemory对象 Class<?> clz = Class.forName("android.os.SharedMemory"); Object sharedMemory = InvokeUtil.newInstanceOrThrow(...

2021-06-29 14:23:57 848

原创 android studio清除所有断点,批量删除断点

android studio清除所有断点,批量删除断点Run-->View Breakpoints选择所有的断点点击【减号】 点击 【done】

2021-06-28 10:20:42 609

原创 YUV格式视频流文件下载

https://media.xiph.org/vqeg/TestSeqences/Reference/http://trace.eas.asu.edu/yuv/index.html

2021-06-21 20:23:21 1724

原创 java.lang.IllegalArgumentException: Service Intent must be explicit: Intent

2021-06-15 11:34:10.868 9512-9512/com.zsj.aidlservice E/AndroidRuntime: FATAL EXCEPTION: main Process: com.zsj.aidlservice, PID: 9512 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.zsj.aidlservice/com.zsj.aidlservice.MainAct...

2021-06-15 11:48:26 2736 1

原创 android studio查看历史搜所记录

android studio按ctrl+F搜所,会自动显示上一个搜所记录如何查看前面几个?点击下面的小三角,在搜所图标旁边,就可以查看到

2021-06-11 17:10:24 733 1

原创 Failed to install app-debug.apk: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]

使用adb 安装android studio生成的app-debug.apk包时抱以下错误adb install D:\app\android\project\DVR\app\build\outputs\apk\debug\app-debug.apkFailed to install D:\app\android\project\DVR\app\build\outputs\apk\debug\app-debug.apk: Failure [INSTALL_FAILED_TEST_ONLY: insta

2021-06-09 10:05:21 3822

原创 android studio新增syso快捷方式像eclipse一样

android studio中File->Settings->Editor->Live Templates输入完模板信息 点击Define就完成了

2021-06-03 11:51:02 164

原创 andorid系统layout、values、drawable适配

andorid屏幕适配密度类型 代表的分辨率(px) 屏幕密度(dpi) 换算(px/dp) 比例 低密度(ldpi) 240x320 120 1dp=0.75px 3 中密度(mdpi) 320x480 160 1dp=1px 4 高密度(hdpi) 480x800 240 1dp=1.5px 6 超高密度(xhdpi) 720x1280 320 1dp=2px 8

2021-05-26 18:15:29 304 1

原创 java 可执行的JAR包程序

1、对写好的java文件点右键导出导出成可运行的JAR文件launch configuration:启动配置(有时项目中有多个main函数的java文件,所以一定要看清是不是自已设定的那个)然后设置导出jar的文件路径点击【finish】2、创建bat文件并指定执行的jar文件自己创建一个记事本把下面的内容保存进去java -jar bat.jarpause并另存为exec.bat (注意这时已是bat文件了)用win...

2021-05-22 15:15:12 1051

原创 android studio软件报out of Memory详情There is not enough memory to perform the requested operation

本机安装android studio4.1软件,某天早上来,打开突然就报以下错误There is not enough memory to perform the requested operation.please increase 'Xmx' setting and restart the IDE for change to take effect网上搜了半天,都和我的软件版本不一致,而且 去试着修改 C:\Users\soft_pc5\AppData\Roaming\Googl..

2021-05-20 20:39:22 1587

原创 linux cat创建与退出

创建 text.txt文件1、cat < text.txt2、回车3、输入你的内容4、完成后准备退出---》输入回车5、键盘上按下快捷键Ctrl+D6、就可以成功创建并保存内容了备注:cat < 是没有文件就创建新的,有文件就覆盖 cat << 是没有文件就创建新的,有的话就追加内容...

2021-05-13 10:28:39 3608

原创 source insight项目导入和使用教程

一、引入已存在的源代码项目1、Project下创建新项目2、取一个项目名和一个项目存放文件路径(方便存放索引和一些设置)3、选择你准备查看或修改的项目源代码选择源代码文件夹 点击右边【add All】弹出提示include top level sub-directories表示将添加第一层子目录中 的文件Recursively add lowersub-directories” 、 表示递归的加入底层的子目录中 的文件两...

2021-05-12 11:29:03 21486 2

原创 adb remount of the / superblock failed: Permission denied

adb 连接设备出错D:\adb>adb remountremount of the / superblock failed: Permission deniedremount failed解决办法D:\adb>adb disable-veritySuccessfully disabled verityNow reboot your device for settings to take effect然后重启adb reboot重新连接成功!...

2021-05-11 17:03:30 956 1

转载 Android YUV文件查看工具

一首先将YUV 的byte[] 保存为 .yuv 后缀文件。 文件保存的路径是手机外部应用私有存储目录下面private void saveAsJPEG(byte[] bytes, String path) { File file = new File(mActivity.getExternalFilesDir(null).getPath() + File.separator + System.currentTimeMillis() + path + "_.YUV"); ...

2021-05-10 19:32:07 1433

python tesseract ORC win10文字识别-中文-chi-sim.traineddata

python tesseract ORC win10文字识别-中文-chi_sim.traineddata

2023-09-17

python tesseract ORC win10文字识别

python tesseract ORC win10文字识别

2023-09-17

gitLab的linux安装包

gitLab的linux安装包,适用于centOS 6.x版本的安装

2022-03-26

android悬浮窗口开发demo.zip

android悬浮窗口开发demo,测试是在android9系统测试过,正常可用

2021-07-26

yuv彩色视频下载1280x720_nv12_rate_25.yuv用于测试

yuv彩色视频 分辨率1280x720 格式nv12 帧率 25 用于测试用

2021-06-21

AIDL_project.rar

android中进程间调用,AIDL远程调用的例子,简单易懂

2021-06-15

android系统.rc文件学习包含init.rc,init.usb.rc,init.zygote64.rc,init-debug.rc,ueventd.rc

Android Init Language是android系统很重要的组成 文件来自于\system\core\rootdir 里面有init.rc,init.usb.rc,init.zygote64.rc,init-debug.rc,ueventd.rc

2021-06-10

PermissionActivity.java

android9动态请申权限方法 是https://download.csdn.net/download/m0_37622302/18351170 的不同版本,用的androidx库

2021-06-08

SoundRecorder.rar

android9原生自带SoundRecorder录音app原码,路径是:\packages\apps\SoundRecorder

2021-06-02

44K-1Khz+48K-1Khz音频.rar

44K-1Khz和48K-1Khz音频测试文件,用于测试设备降噪效果

2021-05-25

android9系统mic麦克风增益和降噪

android9系统mic麦克风增益和降噪

2021-05-19

sourceInsight.zip

sourceInsight系统框架开发软件 SourceInsight3.5序列号 SI3US-205035-36448 SI3US-466908-65897 SI3US-368932-59383 SI3US-065458-30661 SI3US-759512-70207

2021-05-03

PermissionActivity.java

android6开始android需要动态权限申请 公共权限申请方法

2021-05-03

RunnableExceptionHandler.java

android系统APP发生异常捕获

2021-04-30

android系统APP日志写入本地保存

android系统APP日志写入本地保存

2021-04-30

settings.zip

android studio 快捷键一些个人习惯设置---接近eclipse,大伙慎重下载,不一定适合大家

2021-04-27

ic_navigate_next_grey_400_48dp.png

android箭头图标.png图片 灰色

2021-03-24

settings.xml

maven中央仓库地址变更为阿里的仓库,配置文件

2021-03-18

android8系统LinearLayout原代码

android8系统LinearLayout原代码,供大家在自定义viewGroup组件时,可以做为参考,也可以学习一下系统UI底层的实现

2020-09-17

android系统原码TextView.java

android 8系统中的原码TextView.java, 可以查看官方的实现原理 ,对自定义 组件有一定 启发

2020-09-17

android 手滑速度转距离

android 应用滑动fling中的速度转成滑动的距离,通过android中的fling得到系统给出的速度来计算出用户手滑最终距离

2020-09-10

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除