[Android]status":7,"value":"No element found"

I am in learning phase of Appium. I am getting this error when I run

driver.findElementById("(android:id/text1)[8]").click();

Android Device version - 7.0
Appium server version - 1.6.5
Java Client - 5.0.0-Beta9

Log file -

[HTTP] --> POST /wd/hub/session/772d4e2b-cd36-4e56-81c7-90c38ede8440/element {“using”:“id”,“value”:"(android:id/text1)[8]"}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,"(android:id/text1)[8]",“772d4e2b-cd36-4e56-81c7-90c38ede8440”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:"(android:id/text1)[8]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:"(android:id/text1)[8]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘(android:id/text1)[8]’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=io.appium.android.apis:id/(android:id/text1)[8]]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=android:id/(android:id/text1)[8]]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=(android:id/text1)[8]]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[DESCRIPTION=(android:id/text1)[8], INSTANCE=0]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘(android:id/text1)[8]’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=io.appium.android.apis:id/(android:id/text1)[8]]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=android:id/(android:id/text1)[8]]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=(android:id/text1)[8]]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[DESCRIPTION=(android:id/text1)[8], INSTANCE=0]
[AndroidBootstrap] Received command result from bootstrap
[HTTP] <-- POST /wd/hub/session/772d4e2b-cd36-4e56-81c7-90c38ede8440/element 500 433 ms - 164
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:7,“value”:“No element found”}

replace with:

        import io.appium.java_client.MobileBy;

        MobileElement el = (MobileElement) driver.findElements(MobileBy.id("text1")).get(7); // get 8th element
        // tap it like here
        new TouchAction((MobileDriver) driver).press(el).waitAction(Duration.ofMillis(70)).release().perform();
        // or like here
        new TouchAction((MobileDriver) driver).tap(el).perform();

Run the above code - but no action is performed in Device.

Log file -
POST /wd/hub/session/a25c6d94-7da1-4efa-a660-0ca75eafefe9/elements {“using”:“id”,“value”:“text1”}
[MJSONWP] Calling AppiumDriver.findElements() with args: [“id”,“text1”,“a25c6d94-7da1-4efa-a660-0ca75eafefe9”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“text1”,“context”:“”,“multiple”:true}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“text1”,“context”:“”,“multiple”:true}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘text1’ using ‘ID’ with the contextId: ‘’ multiple: true
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=io.appium.android.apis:id/text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[RESOURCE_ID=io.appium.android.apis:id/text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element is null: (0)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=0, RESOURCE_ID=io.appium.android.apis:id/text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=android:id/text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[RESOURCE_ID=android:id/text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element is null: (0)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=0, RESOURCE_ID=android:id/text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element is null: (1)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=1, RESOURCE_ID=android:id/text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element is null: (2)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=2, RESOURCE_ID=android:id/text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element is null: (3)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=3, RESOURCE_ID=android:id/text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element is null: (4)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=4, RESOURCE_ID=android:id/text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element is null: (5)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=5, RESOURCE_ID=android:id/text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element is null: (6)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=6, RESOURCE_ID=android:id/text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element is null: (7)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=7, RESOURCE_ID=android:id/text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element is null: (8)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=8, RESOURCE_ID=android:id/text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element is null: (9)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=9, RESOURCE_ID=android:id/text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element is null: (10)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=10, RESOURCE_ID=android:id/text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element is null: (11)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=11, RESOURCE_ID=android:id/text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[RESOURCE_ID=text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[RESOURCE_ID=text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element is null: (0)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[INSTANCE=0, RESOURCE_ID=text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[DESCRIPTION=text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements selector:UiSelector[DESCRIPTION=text1]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Element is null: (0)
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] getElements tmp selector:UiSelector[DESCRIPTION=text1, INSTANCE=0]
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElements() result: [{“ELEMENT”:“1”},{“ELEMENT”:“2”},{“ELEMENT”:“3”},{“ELEMENT”:“4”},{“ELEMENT”:“5”},{“ELEMENT”:“6”},{“ELEMENT”:“7”},{“ELEMENT”:“8”},{“ELEMENT”:“9”},{“ELEMENT”:“10”},{“ELEMENT”:“11”}]
[HTTP] ← POST /wd/hub/session/a25c6d94-7da1-4efa-a660-0ca75eafefe9/elements 200 499 ms - 251
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:[{“ELEMENT”:“1”},{“ELEMENT”:“2”},{“ELEMENT”:“3”},{“ELEMENT”:“4”},{“ELEMENT”:“5”},{“ELEMENT”:“6”},{“ELEMENT”:“7”},{“ELEMENT”:“8”},{“ELEMENT”:“9”},{“ELEMENT”:“10”},{“ELEMENT”:“11”}]}
[HTTP] → POST /wd/hub/session/a25c6d94-7da1-4efa-a660-0ca75eafefe9/touch/perform {“actions”:[{“action”:“tap”,“options”:{“element”:“8”}}]}
[MJSONWP] Calling AppiumDriver.performTouch() with args: [[{“action”:“tap”,“options”:{“element”:“8”}}],“a25c6d94-7da1-4efa-a660-0ca75eafefe9”]
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:getLocation”,“params”:{“elementId”:“8”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:getLocation”,“params”:{“elementId”:“8”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getLocation
[AndroidBootstrap] Received command result from bootstrap
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:getSize”,“params”:{“elementId”:“8”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“x”:0,“y”:1257}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:getSize”,“params”:{“elementId”:“8”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getSize
[AndroidBootstrap] Received command result from bootstrap
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“8”,“x”:540,“y”:1329}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“width”:1080,“height”:144}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“8”,“x”:540,“y”:1329}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.performTouch() result: null
[HTTP] ← POST /wd/hub/session/a25c6d94-7da1-4efa-a660-0ca75eafefe9/touch/perform 200 90 ms - 76
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:true}
[BaseDriver] Shutting down because we waited 60 seconds for a command
[AndroidDriver] Shutting down Android driver

@Shailja_Pandey try 1 suggested tap. i use it as default. second just left as example (was worked before. did not use long time)…