Not able to find menu item using UIAutomator in appium

Hi,
I am trying to find menu item of Flipkart app using appium but unable to find menu items by uiautomator

It has menu list like -
Login
Wishlist
Track Order
Rate the app

My code was given below -

driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
WebElement homeimage = driver.findElement(By.id(“com.flipkart.android:id/overflowIcon”));
/=====I need code to click login here=====================/

I’m not sure how well Appium supports By.id(). I use the UIAutomator strategy when I need to find an element based on ID:

driver.findElement(MobileBy.AndroidUIAutomator("new UiSelector().resourceId(\"com.flipkart.android:id/overflowIcon\")"));

Javadocs: MobileBy.AndroidUIAutomator