Flutter Google登录:I / flutter(4510):PlatformException(异常,未知,null)

时间:2020-05-28 18:23:10

标签: firebase flutter google-signin

我在Google登录中遇到了异常。

I/flutter ( 4510): PlatformException(exception, Unknown, null)

在logcat中,我收到此错误。

E/SQLiteDatabase: Error inserting period=2783000 preferred_charging_state=1 preferred_network_type=1 target_class=com.google.android.gms.measurement.PackageMeasurementTaskService required_network_type=0 runtime=1590862460755 required_idleness_state=0 source=16 service_kind=0 target_package=com.google.android.gms persistence_level=1 source_version=201516000 last_runtime=0 user_id=0 job_id=-1 requires_charging=0 tag=Measurement.PackageMeasurementTaskService.UPLOAD_TASK_TAG flex_time=1391000 task_type=0 retry_strategy={"maximum_backoff_seconds":{"3600":0},"initial_backoff_seconds":{"30":0},"retry_policy":{"0":0}}
android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: pending_ops.tag, pending_ops.target_class, pending_ops.target_package, pending_ops.user_id (code 2067 SQLITE_CONSTRAINT_UNIQUE)
    at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
    at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:796)
    at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:788)
    at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:86)
    at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1564)
    at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1433)
    at apne.a(:com.google.android.gms@201516029@20.15.16 (100406-309763488):76)
    at apmt.a(:com.google.android.gms@201516029@20.15.16 (100406-309763488):173)
    at apmt.a(:com.google.android.gms@201516029@20.15.16 (100406-309763488):21)
    at apmt.a(:com.google.android.gms@201516029@20.15.16 (100406-309763488):167)
    at apjc.run(:com.google.android.gms@201516029@20.15.16 (100406-309763488):8)
    at spg.b(:com.google.android.gms@201516029@20.15.16 (100406-309763488):12)
    at spg.run(:com.google.android.gms@201516029@20.15.16 (100406-309763488):7)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    at svg.run(:com.google.android.gms@201516029@20.15.16 (100406-309763488):0)
    at java.lang.Thread.run(Thread.java:764)

0 个答案:

没有答案