Skip to content

A Vagrant image complete with Ionic, Node, Cordova, and Android installed for quick development of apps

Notifications You must be signed in to change notification settings

Unixono/ionic-cordova-android-vagrant-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ionic Cordova Android Vagrant Docker

A Vagrant and Docker image complete with Ionic, Node, Cordova, and Android installed for quick development of apps.

To install, download and install Vagrant for your platform, then download and install VirtualBox.

Once Vagrant and VirtualBox are installed, you can download the latest release of this GitHub repo, and unzip it. cd into the unzipped folder and run:

$ vagrant up
$ vagrant ssh

This will download and install the image, and then go through the dependencies and install them one by one. vagrant ssh will connect you to the image and give you a bash prompt. Once everything completes, you'll have a working box to build your apps on Android.

The image also has support for connected USB Android devices. To test whether devices are connected, you can run (from the box):

$ sudo /home/vagrant/android-sdk-linux/platform-tools/adb devices

If that does not work, or shows ????? permissions, then run:

sudo /home/vagrant/android-sdk-linux/platform-tools/adb kill-server
sudo /home/vagrant/android-sdk-linux/platform-tools/adb start-server

About

A Vagrant image complete with Ionic, Node, Cordova, and Android installed for quick development of apps

Resources

Stars

Watchers

Forks

Packages

No packages published