- 博客(13)
- 收藏
- 关注
原创 a fatal error has been detected by the Java Runtime Environment:Failed to write core dump.
JVM突然报错:之前用得还好好的,也不知道是什么原因,然后重启了一下电脑就又可以用了。重启解决99%的问题
2021-09-09 11:13:03
857
原创 将Firebase添加到android项目中
将Firebase添加到android项目中前提: minSdkVersion 16 以上Gradle 4.1以上Jetpack (AndroidX)要求:·classpath “com.android.tools.build:gradle:4.0.1”·compileSdkVersion 30创建firebase:1.在firebase注册应用2.下载配置文件,将配置文件复制到项目根目录3.添加FirebaseSDKbuild.gradule(项目gradle)// Top-
2021-08-31 11:25:04
1088
原创 环信集成报错Fatal signal 6 (SIGABRT), code -6 in tid 28957 (Thread-2)
这个错误应该是极少出现的,是我自己粗心导致报错Fatal signal 6 (SIGABRT), code -6 in tid 28957 (Thread-2)这是因为在环信集成的时候要配置Appkey
2021-04-14 00:04:56
924
原创 环信服务器发送注册时报错注册失败 208,Registration failed.
今天在写环信的注册功能时,老是报错,我的排查顺序是这样的首先是第一个错误:在写完注册代码时,连进都进不去登陆页面,代码如图:报错如图:他这里的主要报错原因是pool-4-thread-2。Cased by:Didn’t find class " Didn’t find class “androidx.localbroadcastmanager.content.LocalBroadcastManager”上网上一查只要在gradle加一句implementation 'com.android.
2021-03-16 09:41:40
1626
原创 AS导入xutils3框架
第一步:下载xutils3.链接:https://github.com/wyouflf/xUtils3下载界面:点击Code下载完成后将xutils放到自己的项目中去。然后修改自己app下的build.gradle和utils下的build.gradle版本一致。app:xutils:然后是在项目的settings.gradle里添加 include ‘:app’ ,‘xutils’。然后在项目下的build.gradle下添加这两句classpath ‘com.jfrog.bintr
2020-11-30 22:03:22
283
原创 关于The origin server did not find a current representation for the target resource 的错误
The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.这个问题在网上找到的都是因为server.xml文件与软件里的配置不一样,但是试过了都不行。最后发现我的项目里既有c3p0又有web.xml,这两个冲突了,只要删掉一个就行了。可能是这个错误太低级了,大家都没遇到嘻嘻。...
2020-10-31 00:19:00
459
转载 signing-config.json (拒绝访问。)
signing-config.json (拒绝访问。)这是一个比较难的问题,因为导致这个问题的原因有很多,需要逐一排查。1、重启模拟器2、clean project3、最后直接删掉项目中的.idea和.gradle文件,并点击Androidstudio的File–>Invalidate Caches/Restart,Androidstudio重启后4、.以上方法试完后,直接上Google查找上面报错的问题,结果还真在stackoverflow找到一个启发我去操作的方法,这个错误的原因是没有管
2020-10-20 16:53:41
2945
原创 操作数据库时错误
从上面的三张图可以看到,报错是因为 java.sql.SQLSyntaxError未知数据库“mybatis-u plus”说明是数据库名字错误了,我建立的数据库名叫mybatis,但是在数据库配置文件中我写的是mybatis—_plus,所以就出现了错误。问题不大!!...
2020-08-22 23:34:01
216
原创 Configuration property name ‘xxx‘ is not valid
问题描述:命名不规范Canonical names should be kebab-case (’-’ separated), lowercase alpha-numeric characters and must start with a letter规范名称应为(’-'分隔)、小写字母数字字符,并且必须以字母开头Configuration property name 'cmsOss' is not valid:Invalid characters: 'O'Bean: CMSImageContr
2020-08-12 00:14:02
5345
原创 RunWith依赖错误
问题描述:这张图里的错误警告是 TestEngine with ID ‘junit-vintage’ failed to discover testsID为“junit vintage”的TestEngine未能发现测试一般出现问题都是依赖出了问题,所以就想起了在进入测试时自己加载了一个@RunWith注解,发现没有依赖,就添加了进去,结果就出现了这种情况。最后上网查找原因是4.xxx的版本太旧,就换成了5.xxx的版本,问题解决...
2020-08-12 00:04:48
630
原创 Error starting ApplicationContext.
在运行主程序时出现错误Error starting ApplicationContext. 即启动ApplicationContext时出错。出现的错误提示如下最后查清楚是端口占用导致。解决方法:使用cmd查看端口号占用情况使用命令关闭10728的进程重新运行没问题...
2020-08-10 22:28:03
3438
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人