angularjs - 如何将现有的 AngularJS 2 网络应用程序转换为 Cordova 应用程序?

标签 angularjs node.js cordova mobile ionic-framework

我有一个用 Angularjs 2.0 构建的网络应用程序,我想将它转换为 android apk 并将其安装在 android 手机上并进行测试。

我在构建移动原生应用或将 webapp 转换为原生应用方面没有任何经验。

我已经完成了如何将现有的 AngularJS 网络应用程序转换为 Cordova 应用程序? 任何建议/指导都会有所帮助。

最佳答案

最简单的解释是您需要将您的 Angular 文件放在 www 文件夹中,设置您的配置文件,确保安装了 android 平台,然后运行 ​​Android emulate 和/或 build 命令以查看它是否有效。这是一个非常简单的版本。

一旦你让它工作,就需要一个过程来准备要上传到 Google Play 商店的 apk。您必须是 Play 商店的注册开发者,每年 25 美元。

https://scotch.io/@vijayk036/building-hybrid-mobile-apps-using-cordova-and-angularjs-for-android https://thebhwgroup.com/blog/converting-angularjs-website-cordova-app-ios-and-android

关于angularjs - 如何将现有的 AngularJS 2 网络应用程序转换为 Cordova 应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41781963/

相关文章:

android - phonegap 3.0 想要 android 17,但我想要 android 18

android - Phonegap "hello world"应用程序无法在 Android 模拟器中启动?

javascript - VSCode : "Go to definition" not working

javascript - 如何使用 ng-style 设置元素宽度百分比的样式

angularjs - Angular 不从模型中选择单选按钮

javascript - Angular 2 : How to dynamically set data binding variables on input elements?

node.js - 无法在 CentOS 7 上安装 node.js v8

node.js - 如何将 id 传递给路由器删除方法?

node.js - 使用BLoC模式的Flutter登录系统

iphone - Phonegap应用程序提交到AppStore-ITMS-9000错误