安装sdk及配置环境 android
npm install -g cordova
项目源目录下 grunt -force 会生成dist
在家下面建立(anywhere)cordova create hello com.example.hello HelloWorld cd hello rm hello/www/* cp dist/* hello/www/
hello: cordova platforms add android
hello:cordova build
安装sdk及配置环境 android
npm install -g cordova
项目源目录下 grunt -force 会生成dist
在家下面建立(anywhere)cordova create hello com.example.hello HelloWorld cd hello rm hello/www/* cp dist/* hello/www/
hello: cordova platforms add android
hello:cordova build