我在 2021 年 10 月之后在 Play 商店上发布我的应用程序时遇到问题,错误表明该表media_store_extension
不存在。问题是:我在项目中没有使用 SQLITE,所以我不知道是什么导致了这个异常。
目标 sdk 是 30,最低限度是 26
完整错误:
FATAL EXCEPTION: latency_sensitive_executor-thread-1
Process: com.google.android.apps.photos, PID: 29478
java.lang.RuntimeException: android.database.sqlite.SQLiteException: no such table: media_store_extension (code 1): , while compiling: SELECT id FROM media_store_extension ORDER BY id DESC LIMIT 100 OFFSET 0
at nqo.a(PG:3)
at aleu.run(PG:6)
at krv.a(PG:17)
at krw.run(Unknown Source:6)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
at ksa.run(PG:5)
Caused by: android.database.sqlite.SQLiteException: no such table: media_store_extension (code 1): , while compiling: SELECT id FROM media_store_extension ORDER BY id DESC LIMIT 100 OFFSET 0
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:890)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:501)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:37)
at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:46)
at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1392)
at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1239)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1110)
at agcm.a(PG:8)
at nnw.run(PG:17)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
... 4 more
这个错误不仅来自 Flutter 开发者,也来自 Unity(https://forum.unity.com/threads/getting-an-odd-error-in-internal-android-build-after-updating-iap.1104352/ https://forum.unity.com/threads/getting-an-odd-error-in-internal-android-build-after-updating-iap.1104352/ and https://forum.unity.com/threads/error-when-submitting-app-to-google-play.1098139/ https://forum.unity.com/threads/error-when-submitting-app-to-google-play.1098139/),就我而言 - 对于原生 Android 应用程序。
我们在 6 个月前首次收到此错误,并应用了 Unity 人员建议的修复程序:
aaptOptions {
noCompress 'db'
...
}
然而,昨天我们再次收到同样的错误,所以“修复”了not为我们工作。
出现错误:
- (到目前为止)仅在内部测试期间
- 仅限红米6A。
- 不定期(并非每次都重现)
- 始终在处理 com.google.android.apps.photos
The 最合理的解释 https://forum.unity.com/threads/getting-an-odd-error-in-internal-android-build-after-updating-iap.1104352/#post-7472873到目前为止我所看到的是,当测试机器人尝试截取屏幕截图时会发生异常。
这解释了为什么该过程是 Google Photos 的,为什么每次都不会重现该错误,以及为什么只需重新提交新版本即可“修复”该错误。
这也意味着只需忽略该错误就可以了。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)