Unable to do automation using UC and QQ browsers(Chinese browsers)

Not able to automate UC and QQ browsers. Can anyone please let me know what is the alternate process to automate these browsers?
While switching from Native to WebView , getting below error:

Log:

[NATIVE_APP, WEBVIEW_com.UCMobile.dev]
WEBVIEW_com.UCMobile.dev

ext:uc:home Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings BUILD SUCCESSFUL in 23s 2 actionable tasks: 2 executed 8:33:21 PM: Task execution finished ':test --tests "SampleTest.launchSettings"'

Script:

WebDriverWait wait = new WebDriverWait(driver, 10);
By FIRSTNAME = MobileBy.xpath( “//[@name=‘first_name’]");
By LASTNAME = MobileBy.xpath( "//
[@name=‘last_name’]”);
driver.get(“https://www.goglobalwithtwitter.com/en/form/contact-us”);
Thread.sleep(5000);
Set contextNames = driver.getContextHandles();
System.out.println(contextNames);
driver.context((String) contextNames.toArray()[1]);
String context = driver.getContext();
System.out.println(context);
String pageSource = driver.getPageSource();
System.out.println(pageSource);

DesiredCapabilties:

DesiredCapabilities desiredCapabilities = new DesiredCapabilities();
desiredCapabilities.setCapability(“deviceName”, “SM”);
desiredCapabilities.setCapability(“udid”, “R”);
desiredCapabilities.setCapability(“automationName”, “UiAutomator2”);
desiredCapabilities.setCapability(“platformName”, “Android”);
desiredCapabilities.setCapability(“autoAcceptAlerts”, true);
desiredCapabilities.setCapability(“noReset”, true);
desiredCapabilities.setCapability(“appActivity”, “com.uc.browser.InnerUCMobile”);
desiredCapabilities.setCapability(“appPackage”, “com.UCMobile.dev”);//com.ucmobile.lite
desiredCapabilities.setCapability(“chromedriverExecutable”, “/home/pbox/pinio-pboxagent/chromedrivers/chromedriver_78_105”);
//use your api token
URL remoteUrl = new URL(“https://dev/wd/hub”);

	base.Driver = new AndroidDriver<WebElement>(remoteUrl, desiredCapabilities);