Skip to content

Latest commit

 

History

History
79 lines (52 loc) · 1.95 KB

File metadata and controls

79 lines (52 loc) · 1.95 KB

android_emulator plugin

fastlane Plugin Badge

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-android_emulator, add it to your project by running:

fastlane add_plugin android_emulator

About android_emulator

Creates and starts a new Android Emulator (AVD)

With additional features:

  • set location
  • set demo-mode (great for Screengrab 😀)

Example

android_emulator(
	location: '9.1808 48.7771',
	package: "system-images;android-24;google_apis;x86_64",
	demo_mode: true,
	sdk_dir: "PATH_TO_SDK"
)

Or you can use it with our Android SDK Update Plugin

ENV["AVD_PACKAGE"] = "system-images;android-24;google_apis;x86_64"

# installs the emulator and system-image
 android_sdk_update(
	additional_packages: [
		ENV["AVD_PACKAGE"],
		"emulator"
	]
)

android_emulator(
	location: '9.1808 48.7771'
)

Run tests for this plugin

To run both the tests, and code style validation, run

rake

To automatically fix many of the styling issues, use

rubocop -a

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.