I made a code to add data to the Cloud Firestore. If i press the button to execute the code, it should be added data to the Firestore, but the firestore is empty. And if you look at the log, the following error is written. I did clean and rebuild studio... I'm currently using Kotlin.
E/AndroidRuntime: FATAL EXCEPTION: grpc-default-executor-0 Process: com.example.modaktestsecondfollowing, PID: 12425 java.lang.AssertionError at io.grpc.internal.DnsNameResolver.getResourceResolver(DnsNameResolver.java:536) at io.grpc.internal.DnsNameResolver.access$500(DnsNameResolver.java:60) at io.grpc.internal.DnsNameResolver$1.run(DnsNameResolver.java:211) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:923) https://stackoverflow.com/questions/65830794/the-firestore-is-not-added-data-and-an-error-occurs-e-androidruntime-fatal-exc January 21, 2021 at 11:40PM
没有评论:
发表评论