Warning: OutputPage::getModuleStyles: style module should define its position explicitly: skins.minerva.buttons.styles MFResourceLoaderModule [Called from OutputPage::getModuleStyles in /usr/share/nginx/html/www.abovecloud.com/wiki/includes/OutputPage.php at line 623] in /usr/share/nginx/html/www.abovecloud.com/wiki/includes/debug/MWDebug.php on line 300

Warning: OutputPage::getModuleStyles: style module should define its position explicitly: skins.minerva.buttons.styles MFResourceLoaderModule [Called from OutputPage::getModuleStyles in /usr/share/nginx/html/www.abovecloud.com/wiki/includes/OutputPage.php at line 623] in /usr/share/nginx/html/www.abovecloud.com/wiki/includes/debug/MWDebug.php on line 300

Warning: OutputPage::getModuleStyles: style module should define its position explicitly: skins.minerva.buttons.styles MFResourceLoaderModule [Called from OutputPage::getModuleStyles in /usr/share/nginx/html/www.abovecloud.com/wiki/includes/OutputPage.php at line 623] in /usr/share/nginx/html/www.abovecloud.com/wiki/includes/debug/MWDebug.php on line 300

Warning: OutputPage::getModuleStyles: style module should define its position explicitly: skins.minerva.buttons.styles MFResourceLoaderModule [Called from OutputPage::getModuleStyles in /usr/share/nginx/html/www.abovecloud.com/wiki/includes/OutputPage.php at line 623] in /usr/share/nginx/html/www.abovecloud.com/wiki/includes/debug/MWDebug.php on line 300

Warning: OutputPage::getModuleStyles: style module should define its position explicitly: skins.minerva.buttons.styles MFResourceLoaderModule [Called from OutputPage::getModuleStyles in /usr/share/nginx/html/www.abovecloud.com/wiki/includes/OutputPage.php at line 623] in /usr/share/nginx/html/www.abovecloud.com/wiki/includes/debug/MWDebug.php on line 300

Warning: OutputPage::getModuleStyles: style module should define its position explicitly: skins.minerva.buttons.styles MFResourceLoaderModule [Called from OutputPage::getModuleStyles in /usr/share/nginx/html/www.abovecloud.com/wiki/includes/OutputPage.php at line 623] in /usr/share/nginx/html/www.abovecloud.com/wiki/includes/debug/MWDebug.php on line 300
“Cordova项目的建立”的版本间的差异 - AboveCloud

“Cordova项目的建立”的版本间的差异

Admin讨论 | 贡献
(以“'''创建项目''' cordova create test cn.ustc.hjb hjb 可以在test目录下创建一个新的cordova项目,cn.ustc.hjb是package名称 '''复制到svn目录下...”为内容创建页面)
 
(没有差异)

2014年8月4日 (一) 03:35的最新版本

创建项目


cordova create test cn.ustc.hjb hjb

可以在test目录下创建一个新的cordova项目,cn.ustc.hjb是package名称

复制到svn目录下

把新目录的所有文件全部复制到之前的hjb目录下,提交备用。


浏览器测试

打开 file:///D:/work/hjb/www/index.html

可以看到cordova的标记了


手机测试

首先添加android平台支持

cordova platform add android

这个命令会在platform下面生成一个android目录

cordova build android

第一次会有点慢,最后看到

BUILD SUCCESSFUL Total time: 55 seconds

应该就可以了。去

D:\work\hjb\platforms\android\ant-build

找到

hjb-debug.apk

传到手机上安装即可

最后修改于2014年8月4日 (星期一) 03:35