Got the reason behind the error, after updating the google maps to latest version (9.51) from play store, getting the above mentioned error (Regarding mock location).
Can any one confirm that is this issue with appium in handling mock location by default with updated version or is the issue with google maps.