大家好,我有以下应用程序: https://github.com/kawai-developers/faster
我尝试将其构建为 ubuntu 手机的范围
我设法使用以下命令添加了 ubuntu 平台:
ionic platform add ubuntu
这为我生成了以下文件./platforms/ubuntu
:
www
文件夹中包含角度库的任何源代码在哪里 -
但是我如何将上面的所有这些文件构建为一个点击包呢?
当我在终端上运行时:
ionic ubuntu build
我得到./platforms/ubuntu/native
以下文件:
并得到以下回应:
Running command: /home/pcmagas/Kwdikas/Javascript/Ionic/Faster/hooks/after_prepare/010_add_platform_class.js /home/pcmagas/Kwdikas/Javascript/Ionic/Faster
add to body class: platform-ubuntu
Running command: /home/pcmagas/Kwdikas/Javascript/Ionic/Faster/platforms/ubuntu/cordova/build
Building...
Note: to build a debian package, run:
cd /home/pcmagas/Kwdikas/Javascript/Ionic/Faster/platforms/ubuntu/native/com.ionicframework.faster723190; debuild
我可以选择构建一个 .deb 包,但不能构建 .click 包;
我尝试了以下命令:
cd ./platforms/ubuntu
click build .
click verify com.ionicframework.faster723190_0.0.1_all.click
最后一个命令给了我错误:
Traceback (most recent call last):
File "/usr/bin/click", line 86, in <module>
sys.exit(main())
File "/usr/bin/click", line 82, in main
return mod.run(args)
File "/usr/lib/python3/dist-packages/click/commands/verify.py", line 37, in run
installer.audit(package_path, slow=True)
File "/usr/lib/python3/dist-packages/click/install.py", line 190, in audit
'No "framework" entry in manifest')
此外,Ubuntu SDK 也无法帮助导入之前未插入的现有离子项目。
注意:在执行任何类型的命令之前,我都会通过键入以下内容移动到我的项目文件夹:
cd <project folder>