天天看点

安卓真机利用Cordova实现cordova plugin add cordova-plugin-inappbrowser内置浏览器的应用

Cordova实现cordova plugin add cordova-plugin-inappbrowser内置浏览器的应用

Cordov命令步骤

1.建立:

C:\Users\Administrator\Desktop>cordova create MyApp-1 Creating a new cordova project.

2.进入目录:

C:\Users\Administrator\Desktop>cd C:\Users\Administrator\Desktop\MyApp-1

3安装插件

cordova plugin add cordova-plugin-inappbrowser

4.查询依赖:

C:\Users\Administrator\Desktop\MyApp-1>cordova platform Installed platforms:

Available platforms: android ^8.0.0 browser ^6.0.0 electron ^1.0.0 ios ^5.0.0 osx ^5.0.0 windows ^7.0.0

5.加入选择项:

C:\Users\Administrator\Desktop\MyApp-1>cordova platform add android

Using cordova-fetch for [email protected]^8.0.0 A

继续阅读