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.
Dependencies | Version |
---|---|
NativeScript | 3.0.0 |
Android SDK Tools | 25.2.3 |
Android SDK Build Tools | 25.0.2 |
Android APIs | 21 22 23 24 25 |
NodeJS | v7 |
Java | OpenJDK 8 |
Ubuntu | latest |
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"
Copy 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.
目录 一、安装简介 二、在CentOS 7上安装Docker常用命令 2.1、卸载掉旧版本的 Docker: 2.2、执行以下安装命令去安装依赖包: 2.3、检查版本 三、执行过程: 3.1、卸载旧版本 3.2、安装依赖包 3.3、安装Docker 四、一键安装Docker 一、安装简介 Docker 运行在 CentOS 7 上,要求系统为64位、系统内核版本为 3.10 以上。Cent
问题说明 安装完docker、NVIDIA驱动后,执行指令: nvidia-docker 报错如下: nvidia-docker: command not found 第二种错误: Error response from daemon: Unknown runtime specified nvidia. See 'docker run --help'. 【注】第二种错误的解决方法直接看 【3
项目名称:基于Docker-K8s的Web集群 项目环境:Docker 20.10.5,CentOS 7.6 (7台 2核2G),Nginx 1.19.8,Ansible 2.9.18,NFS,Prometheus 2.0.0,Grafana 4.2.0 项目描述: 实现一个高可用的负载均衡器的Web服务器集群,使用Kubeadm搭建K8s集群,底层采用K8s管理的Docker集群来提供Web服务
master+ansible 192.168.2.72 # 使用pod 4核4G 20Gi node1 192.168.2.73 # 使用pod 2核2G 20Gi node2 192.168.2.94 # 使用pod 2核2G 20Gi nfs
NativeScript Command-Line Interface The NativeScript CLI lets you create, build, and deploy NativeScript-based apps on iOS and Android devices. Get it using: npm install -g nativescript What is Native
NativeScript Clipboard A NativeScript plugin to copy and paste data from and to the device clipboard. �� Plugin version 2.0.0+ is compatible with NativeScript 7+. If you need to target older NativeScr
NativeScript Clipboard 是 NativeScript 插件,可以从设备键盘中复制粘贴数据。 安装: tns plugin add nativescript-clipboard 使用: var clipboard = require("nativescript-clipboard");
NativeScript 可以使用 Javascript,CSS, XML 创建真正的 Native 跨平台应用,支持 iOS Android,NativeScript 将您的跨平台代码翻译成目标平台的代码。 UI 使用 XML 描述,CSS 样式,在编译时将 UI 转化成本地原生代码,最终得到正在的 Native 原生应用。 Telerik 公开了用于创建安卓、iOS和Windows Unive
nativescript-xmpp-client Installation tns install nativescript-xmpp-client Usage import {Client, IQ} from "nativescript-xmpp-client";.... const client = new Client({ websocket: {url: 'ws://127.0
Meteor integration in NativeScript using nativescript-websockets $ tns plugin add nativescript-meteor-client To init your Meteor connection and classes add this snippet just after the platformNativeSc