Does AndroidDriver implement 'get driverData'?

Using appium 1.6.4 and Android OS version 7.1.1 (API level 25) and getting this problem:

A new session could not be created. Details: Problem getting session data for driver type AndroidDriver; does it implement ‘get driverData’?

Does anyone know how to fix this? Thank you!

This happens with me when I re-run my scripts before Appium’s previous session is closed. If you have the same issue, then it can be fixed by restarting Appium server. Or, setting Session Override flag to true before starting the server.

I am experiencing this problem even if I start the server for the 1st time (not only while re-starting) the server - any solution for that?