This Docker Image allows you to build and run Android apps created by using NativeScript development environment. Take a look around and feel free to suggest improvements.
|Android SDK Tools||25.2.3|
|Android SDK Build Tools||25.0.2|
|Android APIs||21 22 23 24 25|
Connect an Android device to your host by making sure USB debbugging mode is enabled. Then run following command and get an Hello World running on your device:
docker run -it --rm --privilged niccolomeloni/docker-nativescript-cli \ -v /dev/bus/usb:/dev/bus/usb \ bash -c "tns create hello && cd hello && tns platform add android && tns run android"
tns file into
/usr/local/bin/ path and make it executable in order to get the NativeScript CLI ready to use.
Development environment is available by using Docker-Compose. Add
docker-compose.yml file to your project and run
docker-compose up in order to get a live sync environment ready to use.
This project is licensed under the MIT license by Niccolò Meloni.
- This project does not provide support to Android emulator. In order to run your application you have to use a real device.
- Add build details