Warning: OutputPage::getModuleStyles: style module should define its position explicitly: mobile.special.mobilediff.styles ResourceLoaderFileModule [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: mobile.special.pagefeed.styles ResourceLoaderFileModule [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: mobile.special.mobilediff.styles ResourceLoaderFileModule [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: mobile.special.pagefeed.styles ResourceLoaderFileModule [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: mobile.special.mobilediff.styles ResourceLoaderFileModule [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: mobile.special.pagefeed.styles ResourceLoaderFileModule [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
更改 - AboveCloud

更改

Cordova项目的建立

添加715字节2014年8月4日 (一) 03:35
以“'''创建项目''' cordova create test cn.ustc.hjb hjb 可以在test目录下创建一个新的cordova项目,cn.ustc.hjb是package名称 '''复制到svn目录下...”为内容创建页面
'''创建项目'''


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

传到手机上安装即可
行政员管理员
1,831
个编辑