Skip to content

marcellodesales/android-react-native

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker environment ready for react native for android development. It's composed of an android emulator container and a development container. The first will run the emulator over x11. The second contains the required tools for react native development.

The development container will map your $HOME directory to its /userdata, so you can feel free to use your preferred editor ide on the host, while running android commands and debugging on the container.

If the default emulator doesn't work with your distro you might want to use another image.

FOR UBUNTU 16.04 Hosts on VMWare, this repo is changed to use the ubuntu-trusty version. Make sure to setup your VM Advanced processor to use virtualization VTx/ETP. That will create the directory /dev/kvm to be used in Emulators if needed.

To do that set an environment variable named EMULATOR_DISTRO with one of the existing image versions:

  • debian-jessie
  • ubuntu-trusty
  • ubuntu-xenial
  • archlinux-latest

Or edit the .env file in this project.

To run the emulator:

xhost +
docker-compose up -d emulator

To shut down the emulator:

docker-compose down emulator

To enter the development environment:

docker-compose run development

To shut down the development container:

docker-compose down development

About

Android Emulators for Development and Use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%