重新安装我的Android Studio版本后,我得到了这个运行时错误-但我没有改变代码-在它工作之前-任何想法?
FATAL EXCEPTION: main
Process: com.google.process.gapps, PID: 5759
java.lang.RuntimeException: Unable to get provider com.google.android.gsf.settings.GoogleSettingsProvider: android.database.sqlite.SQLiteDatabaseLockedException: database is locked (code 5 SQLITE_BUSY): , while compiling: PRAGMA journal_mode
at android.app.ActivityThread.installProvider(ActivityThread.java:7035)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6569)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6464)
at android.app.ActivityThread.access$1300(ActivityThread.java:220)
at at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6464)
at android.app.ActivityThread.access$1300(ActivityThread.java:220)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1860)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7403)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)
我已经改了
ext {
compose_version = '1.4.3'
compose_ui_version = '1.3.3'
}
现在我得到了这个错误
Starting background (first=true): ServiceRecord{65e8b6a u0 com.google.android.gms/.icing.service.IndexWorkerService}
java.lang.RuntimeException: here
at com.android.server.am.ActiveServices.startServiceInnerLocked(ActiveServices.java:788)
at com.android.server.am.ActiveServices.startServiceLocked(ActiveServices.java:716)
at com.android.server.am.ActiveServices.startServiceLocked(ActiveServices.java:480)
at com.android.server.am.ActivityManagerService.startService(ActivityManagerService.java:14005)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:2155)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2763)
at android.os.Binder.execTransactInternal(Binder.java:1021)
at android.os.Binder.execTransact(Binder.java:994)
2条答案
按热度按时间lskq00tm1#
电鳗安装的是最新版本吗?如果是的话,你需要把jbr文件夹的内容添加到jre文件夹中,确保它们匹配。
t1qtbnec2#
我org.jetbrains.kotlin.android在build.gradle中更改了ID“www.example.com”版本"1.8.10“
因为它需要版本1.8.10
现在起作用了