VasSonic is a lightweight and high-performance Hybrid framework developed by tencent VAS team, which is intended to speed up the first screen of websites working on Android and iOS platform.
What steps will reproduce the problem?
该问题的重现步骤是什么?
if (!SonicEngine.isGetInstanceAllowed()) { SonicEngine.createInstance(new SonicRuntimeImpl(this), new SonicConfig.Builder().build()); }
What is the expected output? What do you see instead?
你期待的结果是什么?实际看到的又是什么?
`
1 java.lang.RuntimeException:Unable to create application com.stub.StubApp: android.database.sqlite.SQLiteDatabaseLockedException: database is locked
What steps will reproduce the problem? 该问题的重现步骤是什么?
if (!SonicEngine.isGetInstanceAllowed()) { SonicEngine.createInstance(new SonicRuntimeImpl(this), new SonicConfig.Builder().build()); }
What is the expected output? What do you see instead? 你期待的结果是什么?实际看到的又是什么? `1 java.lang.RuntimeException:Unable to create application com.stub.StubApp: android.database.sqlite.SQLiteDatabaseLockedException: database is locked
2 android.app.ActivityThread.handleBindApplication(ActivityThread.java:4009) 3 ...... 4 Caused by: 5 android.database.sqlite.SQLiteDatabaseLockedException:database is locked 6 android.database.sqlite.SQLiteDatabase.native_setLocale(Native Method) 7 android.database.sqlite.SQLiteDatabase.setLocale(SQLiteDatabase.java:2074) 8 android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1014) 9 android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:986) 10 android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1051) 11 android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:783) 12 android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:228) 13 android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:157) 14 com.tencent.sonic.sdk.SonicEngine.initSonicDB(SonicEngine.java:113) 15 com.tencent.sonic.sdk.SonicEngine.createInstance(SonicEngine.java:102) 16 com.zhenying.lilijinfu.app.LiliApp.initVasSonic(LiliApp.java:82) 17 com.zhenying.lilijinfu.app.LiliApp.onCreate(LiliApp.java:75) 18 com.tencent.bugly.beta.tinker.TinkerPatchReflectApplication.onCreate(BUGLY:189) 19 com.stub.StubApp.onCreate(SourceFile:115) 20 android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:969) 21 android.app.ActivityThread.handleBindApplication(ActivityThread.java:4006) 22 android.app.ActivityThread.access$1300(ActivityThread.java:123) 23 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195) 24 android.os.Handler.dispatchMessage(Handler.java:99) 25 android.os.Looper.loop(Looper.java:137) 26 android.app.ActivityThread.main(ActivityThread.java:4476) 27 java.lang.reflect.Method.invokeNative(Native Method) 28 java.lang.reflect.Method.invoke(Method.java:511) 29 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:808) 30 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:575) 31 dalvik.system.NativeStart.main(Native Method)
` What version of the product are you using? On what operating system? 你正在使用产品的哪个版本?在什么操作系统上? Android 各种系统和版本都出现过
Please provide any additional information below. 如果有的话,请在下面提供更多信息。