Exception in thread "main" org.openqa.selenium.UnsupportedCommandException: Method has not yet been implemented

tried the pointer options like below
Dimension size = driver.manage().window().getSize();
int x1 = (int) (size.getWidth() * 0.5);
int y1 = (int) (size.getHeight() * 0.8);
int x0 = (int) (size.getWidth() * 0.5);
int y0 = (int) (size.getHeight() * 0.2);
PointerInput finger = new PointerInput(PointerInput.Kind.TOUCH, “finger”);
Sequence sequence = new Sequence(finger, 1);
sequence.addAction(finger.createPointerMove(Duration.ofMillis(0), PointerInput.Origin.viewport(),
x1, y1));
sequence.addAction(finger.createPointerDown(PointerInput.MouseButton.MIDDLE.asArg()));
sequence.addAction(finger.createPointerMove(Duration.ofMillis(600), PointerInput.Origin.viewport(),
x0, y0));
sequence.addAction(finger.createPointerUp(PointerInput.MouseButton.MIDDLE.asArg()));
driver.perform(Arrays.asList(sequence));

The above code is not working

Appium desktop version : 1.13
Appium dependancies : 7.2.0
SDK version : 29.0.4

Iam getting the below exception

Sep 23, 2019 9:14:21 PM io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0
INFO: Detected dialect: W3C
Success!!!
Sep 23, 2019 9:14:21 PM org.openqa.selenium.remote.ErrorCodes toStatus
INFO: HTTP Status: ‘404’ -> incorrect JSON status mapping for ‘unknown method’ (405 expected)
Exception in thread “main” org.openqa.selenium.UnsupportedCommandException: Method has not yet been implemented
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:17:03’
System info: host: ‘MAA-5CG7041Q2D’, ip: ‘192.168.1.5’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_221’
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {appActivity: com.the511plus.MultiTouchTe…, appPackage: com.the511plus.MultiTouchTe…, databaseEnabled: false, desired: {appActivity: com.the511plus.MultiTouchTe…, appPackage: com.the511plus.MultiTouchTe…, deviceName: android, noReset: true, platformName: android}, deviceManufacturer: HUAWEI, deviceModel: COR-AL00, deviceName: CRV7N18830000297, deviceScreenSize: 1080x2340, deviceUDID: CRV7N18830000297, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, noReset: true, platform: LINUX, platformName: Android, platformVersion: 9, takesScreenshot: true, warnings: {}, webStorageEnabled: false}
Session ID: 764a87c5-f395-42da-9091-45dc3bad8caf
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.perform(RemoteWebDriver.java:618)
at example.appium.Practice_1.main(Practice_1.java:72)

Need help on the above , i have no clue on why this exception is thrown

dc.setCapability(“automationName”, “uiautomator2”);

i have tried the above capabilities as well yet the same exception as above

I’m experiencing a similar issue. Did you manage to find a solution to this @Kaushik_Swaminathan?