Error appium studio + IntelliJ

java: cannot access org.openqa.selenium.HasInputDevices
class file for org.openqa.selenium.HasInputDevices not found

I believe you need to import

org.openqa.selenium.HasInputDevice