Getting an error message as: " Exception in thread “main” org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not find package org.chromium.chrome.shell on the device" while trying to launch Chromium.
I have installed the Chromium App in Device(Samsung Galaxy J7 - Android version 7.0)
Below are the capabilities I have used :
DesiredCapabilities cap = new DesiredCapabilities();
cap.setCapability(MobileCapabilityType.DEVICE_NAME, “Samsung Galaxy J7”);
cap.setCapability(MobileCapabilityType.PLATFORM_NAME, “Android”);
cap.setCapability(MobileCapabilityType.PLATFORM_VERSION, “7.0”);
cap.setCapability(“browserName”, “Chromium”);
cap.setCapability(“udid”, “33000b2469af94f5”);
aDriver = new AndroidDriver(new URL (“http://127.0.0.1:4723/wd/hub”), cap);
aDriver.get("");