Google Places api for android network error

I am using google autocomplete snippet to find places. It has been working for several weeks now and suddenly today I am getting the following error:

E/AsyncOperation: serviceID=65, operation=AddPlace
                                             OperationException[Status{statusCode=NETWORK_ERROR, resolution=null}]
                                                 at amsa.b(:com.google.android.gms:266)
                                                 at amro.a(:com.google.android.gms:60)
                                                 at lin.run(:com.google.android.gms:111)
                                                 at llt.run(:com.google.android.gms:450)
                                                 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
                                                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
                                                 at lqc.run(:com.google.android.gms:17)
                                                 at java.lang.Thread.run(Thread.java:761)

      

I've tried setting the filter to zero like the solution posted here .

My manifest has the following metadata:

<meta-data
        android:name="com.google.android.geo.API_KEY"
        android:value="Axxxxxxxxxxxxxxxxxxxxxxxxx8"/>

      

I am calling a snippet with the following code: Intent intent = new PlaceAutocomplete.IntentBuilder(PlaceAutocomplete.MODE_OVERLAY) .setFilter(null) .build(MainActivity.this); startActivityForResult(intent, PLACE_AUTOCOMPLETE_REQUEST_CODE);

I would like to point out that this code has been working for several weeks without any problems and I have not made any changes to it.

+3


source to share


2 answers


Everything works again here, hopefully you guys can say the same. It looks like it was a google issue



+1


source


Seeing mistakes. It looks like the Google Places API might be disabled.



GooglePlacesSDK Returned error 500

0


source







All Articles