错误异常
青雨xh
这个作者很懒,什么都没留下…
展开
-
【git】Error:Configuration with name 'default' not found.
今天同步代码的时候老报这样一个错:Error:Configuration with name 'default' not found.起初一直以为是万恶的gradle哪里配置有问题了,但经过调查之后发现后是因为我同步的时候没将一个module模块从远程分支上同步下来,才导致出现这样的错误。要解决这个问题只需执行下面的命令即可:git submodule update --init --recursi原创 2016-12-14 23:43:51 · 609 阅读 · 0 评论 -
【错误异常】Android Do you want to uninstall the existing application?
今天遇到着个错误,手机明明没有已经存在的应用,但是依旧报这个错,通过错误提示试了好几种方法都不行,最后通过下面方法解决,特此记录一下:关闭快速运行 instant run进入android Studio 设置页面: 搜索instant run,去掉第一个选项上的勾原创 2017-03-27 22:46:35 · 2241 阅读 · 1 评论 -
E: Unable to lock directory /var/lib/apt/lists/
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)E: Unable to lock directory /var/lib/apt/lists/sudo fuser -vki /var/lib/apt/lists/lock原创 2017-11-13 23:06:08 · 3771 阅读 · 7 评论 -
Ubuntu 16.04 开机启动失败 Failed to start Load Kernel Modules
Ubuntu 16.04 开机启动失败 Failed to start Load Kernel Modules:解决:dpkg-reconfigure linux-image-$(uname -r)原创 2018-01-20 15:13:25 · 14068 阅读 · 2 评论 -
【Android】An activity without a UI must call finish() before onResume() complete
今天遇到这样的一个bug,我的测试机是Android 7.0,经过追踪得到一下关键出错信息:An activity without a UI must call finish() before onResume() completes很明显这是因为当前的activity没有UI造成的,通过查看源码发现这个问题在6.0之前不存在,在6.0之后google对着快做了强制要求,下面是An...原创 2016-12-14 19:56:59 · 5293 阅读 · 7 评论 -
make: *** [out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp] Error 127
Yacc: aidl <= frameworks/base/tools/aidl/aidl_language_y.y bison -d -o out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp frameworks/base/tools/aidl/aidl_language_y.y /bin...原创 2018-02-13 11:10:35 · 2890 阅读 · 0 评论 -
Android 编译源码出错 Could not build FEC data! Error: terminating with uncaught exception
今天在编译 Android 8.1 源码时出现以下错误, 特此记录一下出错信息:Created filesystem with 2968/4224 inodes and 245876/774155 blocksRunning: build_verity_tree -A aee087a5be3b982978c923f566a94613496b417f2af592639bc80d141...原创 2018-03-12 21:51:09 · 4077 阅读 · 1 评论 -
Android 8.0 启动后台service 出错 IllegalStateException: Not allowed to start service Intent
出错信息E AndroidRuntime: FATAL EXCEPTION: mainE AndroidRuntime: Process: com.cjl.servicetest, PID: 4455E AndroidRuntime: java.lang.RuntimeException: Unable to create application com.cjl.servicetest...原创 2018-03-24 10:00:21 · 30926 阅读 · 5 评论