惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - CZoneSoft

幂等方法的应用 2018春节旅行大数据分析 CZoneSoft Android-x86应用于大型交互设备成功案例 win7 x64安装离线.net 4.0安装失败 报0xc8000247错误 软件以及程序员价值正日益低贱,大胆预言:中国程序员在威客网站逼迫下,收入将不及农民工 CIF视频是什么 新族工程项目合同管理软件 CZoneSoft iBooker手机电子书阅读器开发 在广州生活真正的最低工资标准 想做电子商务,为什么不去淘宝开店,为什么要开发自己的交易平台? 当数据为空时如何显示DetailView以便可以新增记录 mDNSResponder-Apple 公司的产品,用于自动发现局域网上的打印机或其它设备 微软的云计算概念和Google的云计算概念的差别 修正ffmpeg编译错误-videodev2.h:518: error: syntax error before 真的没有几个人能做到!--如果你休息一天,实力就会倒退两天--2500多个日子里只有5天在休息! 手动去迅雷广告,加速迅雷启动的方法 高薪职业走向 开源杀毒软件Moon Secure Antivirus的使用结局 开放与排斥
HBuilder的扩展插件开发暴露了一个事实:其实不能实现写一次代码实现跨平台App生成
CZoneSoft · 2018-05-30 · via 博客园 - CZoneSoft

HBuilder的扩展插件开发,原来并不能生成单独的插件jar,而是以源码 - 类的形式进行开发,这其实就要求必须使用离线打包。

事实上,开发顺序应该是:先弄好离线打包框架,然后在AS里进行扩展插件开发,才能顺利打包发布。

这样,其实android和ios平台同样是要分别用各自的原生语言开发扩展插件类,

而不能实现所谓:H5Plus写一次代码,就能跨平台完成App。

除非实现自定义的功能扩展插件,也能够用统一在HBuilder内,使用统一的语言(H5+?)进行开发、能够独立生成,且插件的生成同样能实现云平台自动编译成多平台插件包,并实现可轻松添加进原有HBuilder项目。只是要用H5Plus来实现这个扩展开发,似乎得提供更强大的跨平台基础库才能实现。

很多时候,商家的宣传口号,掩盖了真相。