You do not need to lower or nothing. There is a design change in Java Client version 2.0.0, as they are mentioned on the site :
AppiumDriver is now an abstract class using IOSDriver and AndroidDriver that extend it.
So, just change the driver line as follows:
dr = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"),capabilities);
Hope this helps ...
source share