Android Emulator not finding textbox

I am developing an automated test using Robot Framework and Appium. I can click and type properly on a real device but when I try to run the same test on an emulator it fails to find and type in a text box. The text box is a hosted webview in our app. Any ideas what I need to do to reliably find the textbox and type in it? I am using the xpath to find the element.