GoogleCloudPlatform / iot-smart-home-cloud

Sample project using Cloud IoT Core and the Google Assistant
Apache License 2.0
116 stars 58 forks source link

Unable to sign in #17

Closed robocircuit closed 3 years ago

robocircuit commented 4 years ago

While i am signing into app with google account following errors are being displayed

W/ActivityThread( 5781): handleWindowVisibility: no activity for token android.os.BinderProxy@16ddf5e I/flutter ( 5781): PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null)

and these errors in logcrat 2020-06-04 12:12:38.091 9415-9415/? E/e.devicemanage: Unknown bits set in runtime_flags: 0x8000 2020-06-04 12:12:39.157 9415-9444/com.example.devicemanager E/Perf: Fail to get file list com.example.devicemanager 2020-06-04 12:12:39.158 9415-9444/com.example.devicemanager E/Perf: getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array 2020-06-04 12:12:39.159 9415-9444/com.example.devicemanager E/Perf: Fail to get file list com.example.devicemanager 2020-06-04 12:12:39.159 9415-9444/com.example.devicemanager E/Perf: getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array

MahrWe commented 4 years ago

Hi, I ran into the same problem. I solved it by adding the SHA1 key for my App in firebase settings. I the documentation it is listed as optional but I can signin properly now.

See: Option 1 > Step 2 > 4.) (optional) at this reference: [Setup]

robocircuit commented 4 years ago

thnks it was already solved

proppy commented 3 years ago

Closing as obsolete.