• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

PolyUtil is cannot be resolved by android studio.

I am using google play services 11.8.0
Here is a function of my android app where PolyUtil is cannot be resolved by android studio what is the reason.Rest everything is okay.Please help me to correct it.


public void displayDirection(String[] directionsList)
{

int count = directionsList.length;
for(int i = 0;i<count;i++)
{
PolylineOptions options = new PolylineOptions();
options.color(Color.RED);
options.width(10);
options.addAll(PolyUtil.decode(directionsList));

mMap.addPolyline(options);
}
}
 
Back
Top Bottom