草庐IT

Signed-off-by

全部标签

android - 不满意链接错误 : dlopen failed: cannot locate symbol "__aeabi_memcpy4" referenced by

我刚刚从NDK12.x更新到13.x,现在遇到以下崩溃:Causedby:java.lang.UnsatisfiedLinkError:dlopenfailed:cannotlocatesymbol"__aeabi_memcpy4"referencedby"/data/app/com.app.myapp-1/lib/arm/libJniBitmapOperationsLibrary.so"...atjava.lang.Runtime.loadLibrary(Runtime.java:372)atjava.lang.System.loadLibrary(System.java:1076)

flutter开发实战-打包应用apk签名及Android studio没有generate signed bundle/apk问题修改

flutter开发实战-打包应用apk签名及Androidstudio没有generatesignedbundle/apk问题修改最近使用flutter开发项目,需要将打包应用时候apk进行签名,我这边开发使用的是Androidstudio,发现在Androidstudio的build没有generatesignedbundle/apk。这里记录一下问题修改,以及生产签名文件及gradle配置。一、在Androidstudio的build没有generatesignedbundle/apk修改在Androidstudio的build没有generatesignedbundle/apk的话,解决

连接 mysql 报错:1251 - client does not support authentication protocol request by server;consider XXXXXX

updatingMySQLclient版本过低,不支持新的身份验证协议,需要更新MySQLclient或者更改MySQL服务器的身份验证方式。解决方法:1.更新MySQLclient升级MySQL客户端程序版本。可以从MySQL官网下载最新版的客户端程序。2.更改MySQL服务器身份验证方式在MySQL5.7之前,默认使用mysql_native_password身份验证方式,因此可以通过以下步骤更改身份验证方式:登录MySQL:mysql-uroot-p选择使用mysql数据库:usemysql;查看当前用户的身份验证方式:SELECTuser,plugin,authentication_s

【docker】bind: An attempt was made to access a socket in a way forbidden by its access permissions.

环境Win10DockerDesktop下班电脑关机,次日启动时候就出现:绑定:试图以其访问权限所禁止的方式访问套接字。意思:调用远程方法“dockerstartcontainer”时出错:错误:(HTTP代码500)服务器错误-端口不可用:暴露端口TCP0.0.0.0:8484->0.0.0.0:0:侦听TCP0.0.0.0:8848:绑定:试图以其访问权限所禁止的方式访问套接字。问题Errorinvokingremotemethod'docker-start-container':Error:(HTTPcode500)servererror-Portsarenotavailable:exp

Caused by: java.lang.ClassNotFoundException: org.apache.maven.exception.ExceptionHandler 的解决办法

 问题概述出现这个问题,是由于开发环境迁移,在迁移的过程中操作不规范导致的,由一台开发服务器,迁移至另外一台开发服务器时,启动失败,错误提示:“ Exceptioninthread"main"java.lang.NoClassDefFoundError:org/apache/maven/exception/ExceptionHandler”具体内容如下:Exceptioninthread"main"java.lang.NoClassDefFoundError:org/apache/maven/exception/ExceptionHandleratjava.base/java.lang.Cla

Android Intent.ACTION_SCREEN_OFF 和 Intent.ACTION_USER_PRESENT 如何注册呢

ActivityhasleakedIntentReceiverScreenReceiverthatwasoriginallyregisteredhere.AreyoumissingacalltounregisterReceiver()?在我的主要Activity中//RegisterreceiverthathandlesscreenonandscreenofflogicfinalIntentFilterintentScreenfilter=newIntentFilter(Intent.ACTION_SCREEN_ON);intentScreenfilter.addAction(Inte

[错误解决]Caused by: java.nio.charset.MalformedInputException: Input length = 1

这个错误java.nio.charset.MalformedInputException:Inputlength=1表示在尝试使用特定字符编码读取数据时出现了问题。它通常意味着可能存在某个字符无法用给定的字符编码正确解析的情况。解决方法:更换字符编码:使用其他字符编码方式尝试读取数据。有时候,选择不同的字符编码可能能够解决无法解析特定字符的问题。例如,尝试使用UTF-8、UTF-16等常见的字符编码方式。若在IDEA中这么设置将字符编码格式都设置为UTF-8后,问题解决

【SourceTree】Your local changes to the following files would be overwritten by merge【解决办法】

项目场景:SoureTree报错:git-cdiff.mnemonicprefix=false-ccore.quotepath=false--no-optional-locksfetch--no-tagsorigingit-cdiff.mnemonicprefix=false-ccore.quotepath=false--no-optional-lockspulloriginmainFromhttps://github.com/xxxxx*branchmain->FETCH_HEADYourlocalchangestothefollowingfileswouldbeoverwrittenbym

【linux】error: dpkg frontend lock is locked by another process

error:dpkgfrontendlockislockedbyanotherprocess解释这个错误意味着dpkg正被另一个进程锁住,无法获取锁来执行操作。有几个可能的原因:1.另一个包管理工具如apt或aptitude正在运行,导致dpkg无法获取锁。等待它们执行完成即可。2.之前的dpkg或其他包管理工具异常退出,没有释放锁。可以使用:sudorm/var/lib/dpkg/lock手动删除锁文件。3.也有可能是软件包数据库损坏,可以尝试:sudodpkg--configure-a来尝试修复。4.也可以检查是否有相关进程占用着锁,使用:sudolsof/var/lib/dpkg/loc

【mysql学习篇】Order by与Group by优化以及排序算法详解

一、Orderby与Groupby优化Case1:分析:利用最左前缀法则:中间字段不能断,因此查询用到了name索引,从key_len=74也能看出,age索引列用在排序过程中,因为Extra字段里没有usingfilesort注意:orderbyage虽然用到了索引,但是不会在key_len列体现Case2:分析:从explain的执行结果来看:key_len=74,查询使用了name索引,由于用了position进行排序,跳过了age,出现了Usingfilesort。注意:这里跳过了age,这里position是无序的,所以不会走索引Case3:分析:查找只用到索引name,age和po