We do not use emulators on our project, only real devices (due to app restrictions). The capabilities are common, nothing special:
capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, device.name)
capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, device.platform)
capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, device.platformVersion)
capabilities.setCapability(MobileCapabilityType.AUTOMATION_NAME, ‘Appium’)
capabilities.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 300)
capabilities.setCapability(AndroidMobileCapabilityType.APP_PACKAGE, device.packageName)
capabilities.setCapability(AndroidMobileCapabilityType.APP_ACTIVITY, ‘com.oxagile.animationsample.LoginActivity’)
Appium v1.5.2 (REV f0aff2a69fdd83d2728443887ec0d89b8704e044)