I'm using the google places autocomplete fragment to search for places. It has been working for a few weeks now and all of a sudden today, I'm 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 null as the posted solution here.
My manifest has the following meta-data :
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="Axxxxxxxxxxxxxxxxxxxxxxxxx8"/>
I'm calling the fragment 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 a few weeks without any problems, and I haven't made any changes to it.