代码拉取完成,页面将自动刷新
awtk模板工程
1.获取awtk并编译
git clone https://github.com/zlgopen/awtk.git
cd awtk; scons; cd -
2.获取awtk-hello并编译
git clone https://github.com/zlgopen/awtk-hello.git
cd awtk-hello
python ./scripts/update_res.py all
或者通过 designer 生成资源
scons
scons LINUX_FB=true
完整编译选项请参考编译选项
./bin/demo
../awtk/bin/preview_ui assets/raw/ui/xxxx.xml
xxxx.xml 换成实际的UI文件。
更新资源后请运行:
python ./scripts/update_res.py all
本文以Linux/MacOS为例,Windows可能会微妙差异,请酌情处理。
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。