Skip to content

pinfake/android-react-native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 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.

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages