Android bug 解析
MaxwellU666
这个作者很懒,什么都没留下…
展开
-
android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14): , w
最近在使用Android 的GreenDao对数据库进行查询的操作时遇到了下面的异常:android.database.sqlite.SQLiteCantOpenDatabaseException: unable toopen database file (code 14): , while compiling: PRAGMA journal_mode详细异常的细节如下:2020-05-25 11:04:30.845 26187-26219/com.pax.psp E/SQLiteLog: (原创 2020-06-09 15:52:13 · 4298 阅读 · 0 评论 -
Android 开发出现了 java.lang.UnsatisfiedLinkError异常
使用第三方的So库时出现了java.lang.UnsatisfiedLinkError ,couldn’t find ".so"库的异常。原创 2020-06-05 16:18:37 · 2635 阅读 · 0 评论 -
Android 运行时异常Caused by: android.view.InflateException
最近在使用了一个自定义view时出现了inflateException ,下面是抛出的异常的日志:2020-06-03 17:34:21.270 2970-2970/com.maxwell.camerademo E/AndroidRuntime: FATAL EXCEPTION: mainProcess: com.maxwell.camerademo, PID: 2970java.lang.RuntimeException: Unable to start activity ComponentInf原创 2020-06-03 17:56:26 · 1124 阅读 · 0 评论 -
ExecutorService的submit方法使用过程中的坑和源码剖析
最近在项目中集成了LeakCanry 来检测项目中出现内存泄漏,结果发现了EventBus 导致的内存的泄漏,然后引出了ExecitorService 的submit方法会catch掉所有的异常的问题(包含运行时异常)。1, Java中的异常之RuntimeException下面的链接是关于Runtime Exception 的描述:https://www.tutorialspoint.com/how-to-handle-the-runtime-exception-in-java1.1 运行时异常的原创 2020-05-20 17:36:07 · 2681 阅读 · 0 评论