I know that you can use electron for cross platform applications (windows, macos, linux) but is there a way to get it to run on android?
我知道你可以将electron用于跨平台应用程序(windows、macos、linux),但有办法让它在android上运行吗?
更多回答
优秀答案推荐
I know it's a few months late but yes, you can. Apache Cordova uses Electron as one of its platforms and this seems to work like a charm.
我知道晚了几个月,但是的,你可以。Apache Cordova使用Electron作为其平台之一,这似乎很有魅力。
Cordova normally creates apps for Android and iOS using JS but with the Electron platform, it can create all the Electron outputs as well like Windows/Mac/Linux by including node.js.
Cordova通常使用JS为Android和iOS创建应用程序,但使用Electron平台,它可以通过包含node.JS来创建所有Electron输出,就像Windows/Mac/Linux一样。
更多回答
Some links to examples or documentastion would be great here. I can't find anything that points to, that this is possible. Cordova, now replaced by Capacitor by the Ionic folks seems to support bringing IOS/Android apps to the desktop using Electron, but not the other way around. At least according to what I can find. If anyone reading this know different please share info, thanks.
这里有一些例子或文档链接会很好。我找不到任何迹象表明这是可能的。Cordova,现在被离子族的电容器取代,似乎支持使用Electron将IOS/Android应用程序带到桌面上,但不是相反。至少根据我所能找到的。如果有人读到这篇文章,请分享信息,谢谢。
我是一名优秀的程序员,十分优秀!