且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将现有的AngularJS 2 Web应用程序转换为Cordova应用程序?

更新时间:2023-09-21 09:36:34

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

The most simple explanation is you will need to put your angular files in the www folder, setup your configuration file, make sure the android platform is installed, then run the Android emulate and/or build command to see if it works. That's a very oversimplified version.

一旦你有了它的工作,就有一个过程来准备将apk上传到谷歌Play商店。你必须是这家游戏商店的注册开发商,每年25美元。

Once you've got it working there's a process to go through to prepare the apk to be uploaded to the Google Play Store. You have to be a registered developer for the play store, which is $25/year.

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

推荐文章