Why do I get this GRPC Error “WARNING: EmulatorService.cpp:448: Cannot find certfile” when I start the emulator?

前端 未结 9 1302
有刺的猬
有刺的猬 2020-12-08 09:42

Good evening everyone, I have only been dealing with Java and Android Studio for a few months, can someone help me to solve this error? It occurs every time the emulator sta

相关标签:
9条回答
  • 2020-12-08 10:36

    A quick fix:

    From the main navbar menu Tools > Android > SDK Manager > Android SDK > SDK Tools

    You'll then see the screen below where you can select '- Android Emulator Hypervisor Driver for AMD Processors (installer) version 1.3.0'

    I am not sure what the actual root cause of the issue is, but this patched the issue for me and may help other people.

    0 讨论(0)
  • 2020-12-08 10:41

    Unless it's preventing your app from running in the emulator, or preventing the emulator from running at all, I wouldn't worry about it. It's something new that Google put into the emulator so it now checks for that file. I looked at an installation which did not have the updates and the cert file was missing there as well, and it ran just fine with no error. I'm not sure what Google is doing, but I know that this wasn't thought through all the way based on the number of people who have been having problems with this.

    0 讨论(0)
  • 2020-12-08 10:44

    You need to add credentials for your application in console.developers.google.com i.e. credentials, clik Api Key 1 and than ADD AN ITEM in Restrict usage to your Android apps.

    0 讨论(0)
提交回复
热议问题