Wrritng xpath for the logout lable on the side bar

Need to write xapth for the logout button, I wrote 3 to 4 , but didn’t work, please help me

As Logout is textView so you can use the this -

driver.findElement(By.xpath(“//android.widget.TextView[@text=‘Logout’]”)).click();