![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
各种报错
文章平均质量分 53
LittleFogCat
这个作者很懒,什么都没留下…
展开
-
Window10无法收到Windows11更新推送的问题
已经使用 PC Health Check 工具检查,确认电脑可以升级 Windows 11,但是在 Windows 更新界面无法收到 Windows 11 更新的提示。注意,这个过程可能需要几分钟,完成之后就可以在 Windows 更新界面看到升级到 Windows 11 的提醒了。按 Windows 徽标键 + S 或选择搜索,键入 任务计划程序,然后从结果列表中选择 任务计划程序。等待任务完成 (它将显示为 就绪)。右键单击 (或长按) 名为 Microsoft 兼容性评估程序 的任务,然后选择运行。原创 2024-03-27 01:01:00 · 447 阅读 · 0 评论 -
Android 4.4 以下,OkHttp访问Https报错,设置了sslSocketFactory仍无效的解决方法
Android4.4以下,使用OkHttp可能会报错:SSL handshake aborted: ssl=0x6b712c90: Failure in SSL library, usually a protocol error error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure原创 2024-03-04 16:59:14 · 851 阅读 · 0 评论 -
Gradle sync failed: Sync failed: reason unknown
尝试https://blog.csdn.net/qq_28078489/article/details/120024317,各种改java版本无果。最后把其他窗口关掉只剩当前项目的,然后清空idea日志,成了原创 2022-01-17 09:37:57 · 1756 阅读 · 0 评论 -
您的手机上未安装应用程序 / App isn‘t installed
安装遇到错误,点击应用图标,提示您的手机上未安装应用程序或App isn't installed。错误原因:这种情况出现的原因是系统找不到或无法启动应用的Launcher Activity。在本案中,Manifest文件中,Launcher Activity标签的exported被设置为false,导致无法启动。解决方式:在本案中,将启动Activity的exported属性设置为true。相关:组件的exported属性表示其是否能够被其他应用调用。如果设置为false,则只能被本应用调用。原创 2021-11-26 21:56:08 · 3861 阅读 · 2 评论 -
报错:Manifest merger failed with multiple errors, see logs
1. AndroidX和support库冲突报错全文:Error:AndroidManifest.xml:24:18-86 Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from [androidx.core:core:1.5.0] AndroidManifest.xml:24:18-86 is also present at [com.android.support:原创 2021-06-11 11:28:51 · 569 阅读 · 2 评论 -
Toolkit.getDefaultToolkit().getScreenSize()导致的crash
大概是这样## A fatal error has been detected by the Java Runtime Environment:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffe38dc7837, pid=203556, tid=0x0000000000031d54## JRE version: Op...原创 2020-01-08 17:25:49 · 731 阅读 · 0 评论 -
DataBinding报错:cannot find the setter for attribute xxx with parameter type xxx
https://blog.csdn.net/Dream2076/article/details/84305310报错信息如下:C:\Android\projects\LazySheep\app\build\generated\source\apt\debug\top\littlefogcat\lazysheep\DataBinderMapperImpl.java:18: 错误: 找不到符号i...原创 2019-08-07 15:39:24 · 4986 阅读 · 0 评论 -
Android报错集锦
亲身经历的报错集锦。在Android开发中会遇到各种奇奇怪怪的报错。很多报错利用搜索引擎能够解决,但是还有一部分是要靠自己摸索才能克服的,于是把这部分报错记录在这篇博客里面,做一个参考。有很多报错原因是有多种的,具体情况需要具体分析,这里只是提供一种解决方案或思路。文章目录1. Error:Could not find com.android.tools.build:gradle:4.12. ......原创 2019-06-14 02:36:19 · 1622 阅读 · 1 评论 -
Android Studio报错:Error:Could not find com.android.tools.build:gradle:4.1 记一次不长记性的坑
看字面意思,这个问题是Gradle没有对应版本。在搜索引擎失效之后,尝试自己解决。 有一点很重要,先保证自己的Android Studio是最新的稳定版本!因为版本更新会修复很多bug,说不定遇到报错就是某个bug引起的。 Could not find com.android.tools.build:gradle:3.0.0.首先,看报错,大概是长这样的: Error:Could ...原创 2019-01-14 04:17:03 · 92244 阅读 · 30 评论 -
Error:The SDK directory 'C:\Users\Darko\AppData\Local\Android\sdk' does not exist. Please fix the 's
导入Project报错,提示如下:Error:The SDK directory 'C:\Users\xx\AppData\Local\Android\sdk' does not exist. Please fix the 'sdk.dir' property in the local.properties file由于我移动过Android sdk的路径, 应当是这个原因.原创 2017-02-24 17:23:52 · 9653 阅读 · 5 评论 -
Android Studio: cannot resolve symbol R
打开项目 BUILD FAILED,提示cannot resolve symbol R.于是rebuild仍然报错.最后Build-Clean Project解决了.原创 2017-02-20 17:49:56 · 646 阅读 · 0 评论 -
【Android】No resource found that matches the given name “xxx” 的解决方法
今天莫名其妙又提示D:\eclipseworkspace\PracBCRcv\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.自从装了SDK之后就没消停过,总是出些原创 2015-05-23 11:30:22 · 3646 阅读 · 0 评论 -
【Android】莫名其妙的错误
刚才新建Android工程的时候突然就报错了,提示什么 No resource found that matches the given name 'Theme.AppCompat.Light" 之类的代码也报错,提示 The import android.support.v7 cannot be resolved 按照网上写的方法试了个遍也没用。最后看了下 SDK manager,看原创 2015-05-17 04:54:57 · 500 阅读 · 0 评论 -
【Android】提示Note: This element has no attached source and the Javadoc could not be found in the attac
今天悬停在某方法上面时,发现提示:Note: This element has no attached source and the Javadoc could not be found in the attached Javadoc.原因:没有下载Android SDK Document,用SDK manager更新一下就好了原创 2015-05-16 23:23:11 · 1162 阅读 · 0 评论 -
【Android】You need to use a Theme.AppCompat theme (or descendant) with this activity解决方法
原文http://www.cnblogs.com/jshen/p/3996071.html 报错如下:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.test2/com.example.test2.MainActivity}: java.lang.IllegalStat...转载 2015-05-15 01:28:59 · 332 阅读 · 0 评论 -
【Android】ADB真机调试:远程主机强迫关闭了一个现有的连接
今天真机调试的时候Eclipse一直提示“Adb connection Error:远程主机强迫关闭了一个现有的连接” “Connection attempts: 1”“Connection attempts: 2”。。。网上找了一天的方法,几乎用遍了都没管用,还是照样找不到设备。到最后几乎绝望的时候终于找到了问题:原来是手机的驱动没有装好……于是……我这手机用了这么久了竟然没有装驱动!原创 2015-04-16 20:49:45 · 923 阅读 · 0 评论