Unable to perform Click Action after opening "selendroid-test-app-0.17.0.apk" application

Hi Everyone,

I started learning Appium couple of days back using my windows machine.

I got succeed in launching the application(selendroid app) “selendroid-test-app-0.17.0.apk” downloaded from Internet on my AVD device, but I couldn’t perform any other Actions like “Click” or “SendKeys” on my AVD. Can someone help me with the real quick solution?

AVD Details:

Device specifications are in attached screenshot(AVD details.jpg).

adb version:

Android Debug Bridge version 1.0.36
Revision 0e9850346394-android

Appium Server Version : 1.4.16.1

Source Code:

File appDir = new File(“src”);
File app = new File(appDir, “selendroid-test-app-0.17.0.apk”);
DesiredCapabilities cap = new DesiredCapabilities();
cap.setCapability(MobileCapabilityType.PLATFORM_NAME,MobilePlatform.ANDROID);
cap.setCapability(MobileCapabilityType.DEVICE_NAME, “Android Emulator”);
cap.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, “100”);
cap.setCapability(MobileCapabilityType.APP, app.getAbsolutePath());
System.out.println(app.getAbsolutePath());
System.out.println(“App Launched Successfully…!!”);
driver = new AndroidDriver(new URL(“http://127.0.0.1:4723/wd/hub”), cap);
driver.findElementByXPath("//android.widget.EditText[@content-desc=‘my_text_fieldCD’]").sendKeys(“Kumar”);

Appium Server Logs:
Appium Server Logs.txt (16.6 KB)