TJ-Bot
When I load up my Android Emulator (Pixel 8 API 34) and I load up my app that I made, when I try to click on any input box, the emulator's keyboard doesn't show up and it doesn't let me .sendKeys() to it. Both number keyboard and normal text keyboard don't
put fields, the keyboard does not show up and I am unable to type anything. This issue occurs both physically on the emulator and when using Appium with Java for automation testing.
One possible solution is to check the emulator settings and make sure that the keyboard input option is enabled. Go to the AVD Manager, select your virtual device, click on Edit this AVD, and then make sure the "Enable Keyboard Input" option is checked.
If that doesn't work, you can also try using a third-party keyboard app on the emulator. Download a keyboard app from Google Play Store or another source, install it on the emulator, and then set it as the default keyboard in the emulator settings.
Another option is to use Appium's capability settings to send keys directly to the input fields. You can use driver.findElement(By.id("your_input_field_id")).sendKeys("text to type") in your Java code to send input directly without relying on the virtual keyboard.
Overall, it's important to troubleshoot and experiment with different solutions to find what works best for your specific setup. And always make sure that your app is compatible with the emulator version you are using.