No commit activity in last 3 years
No release in over 3 years
Creates and starts an Android Emulator (AVD)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

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.