Unable to instantiate Appiumdriver after extending selenium-android driver

Hi All
Iam not able to extend appium driver as ‘AppiumDriver’ with the selenium-android driver class in n my appium project which was configured in Ubuntu machine. Iam using appium client verison 4.
Can anyone help me to find a solution to instantiate appitum driver in Ubuntu.