java.io.IOException: grpc failed

前端 未结 24 1102
野性不改
野性不改 2020-12-02 20:00

When I use call getFromLocationName I get an IOException with description \"grpc failed\".

Code that\'s ran

@Override
public void onMapReady(GoogleMa         


        
24条回答
  •  佛祖请我去吃肉
    2020-12-02 20:34

    UPDATE:

    The problem seems to be solved now. I'm not sure if it the problem ever was on my end, so if you had this problem prior to this post, re-run your app and see if it works now.

    If it still doesn't work, here is the stuff I did myself that "might" have made it work:

    1. I uninstalled and deleted all files related to Android Studio. (NOT the project files).
    2. I then reinstalled Android Studio, and reopened the project back up.
    3. When running the app (I'm using Android Studio's built in emulator) I used a different virtual device and device API. This time I ran it on Pixel, with API 23, x86_64.

提交回复
热议问题