Unable to select the value from dropdown list in Android Hybrid Application

Hi,

I am unable to select the value from Drop down list in Android Hybrid App. First it is able to click on drop down but not selecting the value from drop down. I have used both xpath and AccessibilityId to select the value but it is skipping the command and also not getting any error message. Please tell me any alternate way to select the value, below are the sample code.
//To click on drop down
driver.findElementByXPath("//android.widget.TextView[@content-desc=‘type’]").click();
Thread.sleep(5000);
//To select the value from downdown
driver.findElementByAccessibilityId(“name”).click();

Thank you

Using uiautomatorviewer, can you take a screenshot of the element that you are trying to click and share it.

You can find uiautomatorviewer in “…\android-sdk\tools” on your computer.