小编spi*_*oop的帖子

使用Android分析器时,应用程序会一直崩溃

我的应用程序在需要时进行一些位置跟踪和更新数据库,该应用程序已运行2天,没有任何问题.现在我正在尝试使用Android Profiler(Android Studio 3.01),但是,一旦我打开它,它会运行几秒钟,然后它开始崩溃应用程序.有人有想法吗?

10-22 21:31:01.236 16471-16471/myproject.myfirstapp A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 16471 (ampaigns.myfirstapp), pid 16471 (ampaigns.myfirstapp)
10-22 21:31:01.358 16585-16585/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-22 21:31:01.358 16585-16585/? A/DEBUG: Build fingerprint: 'google/taimen/taimen:9/PPR2.181005.003/4984323:user/release-keys'
10-22 21:31:01.358 16585-16585/? A/DEBUG: Revision: 'rev_10'
10-22 21:31:01.358 16585-16585/? A/DEBUG: ABI: 'arm64'
10-22 21:31:01.358 16585-16585/? A/DEBUG: pid: 16471, tid: 16471, name: ampaigns.myfirstapp  >>> myproject.myfirstapp <<<
10-22 21:31:01.358 16585-16585/? A/DEBUG: signal 6 …
Run Code Online (Sandbox Code Playgroud)

profiler android

59
推荐指数
2
解决办法
3556
查看次数

Android SQLiteDiskIOException(代码 522 SQLITE_IOERR_SHORT_READ)

我在 Android O 上使用 Room 数据库,我不时遇到SQLiteDisckIOException,我尝试解决问题,但堆栈没有告诉我故障点在哪里。有人可以给我一些提示或如何解决此类问题以及这里的潜在问题是什么?我正在编写的应用程序将在位置更改时写入数据库,并且还有一些后台任务会在需要时定期更新数据库。

这是我看到的堆栈:

10-07 22:29:41.404 22214-22226/? E/DataBuffer: Internal data leak within a DataBuffer object detected!  Be sure to explicitly call release() on all DataBuffer extending objects when you are done with them. (internal object: com.google.android.gms.common.data.DataHolder@b0fef92)
10-07 22:29:41.405 22214-22226/? E/DataBuffer: Internal data leak within a DataBuffer object detected!  Be sure to explicitly call release() on all DataBuffer extending objects when you are done with them. (internal object: com.google.android.gms.common.data.DataHolder@db3ad63)
10-07 22:29:41.415 19847-19847/com.firsapp.testing E/Periodic: from PIM->onCreateOptionMenu
10-07 …
Run Code Online (Sandbox Code Playgroud)

android android-sqlite android-workmanager

5
推荐指数
1
解决办法
1619
查看次数