路径必须是字符串.将cordova升级到7.1.0后收到undefined

Jag*_*jha 8 cordova cordova-plugins

E:\ ionic template\gb\IonicMaterialDesign> cordova platform添加android

使用cordova-fetch for cordova-android@~6.3.0添加android项目... Creating Cordova project for the Android platform: Path: platforms\android Package: com.grabhalal.ghadmin Name: gb Activity: MainActivity Android target: android-26 Subproject Path: CordovaLib Android project created with cordova-android@6.3.0 Installing

"cordova-plugin-app-event"for android安装

用于android android-sdk版本检查的"cordova-plugin-background-mode"失败("E:\ ionic template\gb\IonicMaterialDesign\platforms\android\cordova\android_sdk_version"),仍然继续.

Plugin dependency "cordova-plugin-device@1.1.2" already fetched, using that version. Installing

"cordova-plugin-device" for android Installing

"cordova-plugin-crosswalk-webview" for android Subproject Path:

CordovaLib经过对市场的大量讨论和分析,我们决定从20版开始停止对Crosswalk的Android 4.0(ICS)的支持.因此,Cordova项目的minSdkVersion默认配置为16.

`Dependent插件"cordova-plugin-device"

已安装在android.Installing`上

"cordova-plugin-globalization" for android Installing

"cordova-plugin-inappbrowser" for android Installing

"cordova-plugin-splashscreen" for android Installing

`"cordova-plugin-statusbar"for android安装

"cordova-plugin-whitelist" for android This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.

Installing "cordova-plugin-x-socialsharing" for android Subproject

路径:CordovaLib Installing "cordova-sqlite-storage" for android installing external dependencies via npm npm install of external

依赖性好

Error: Path must be a string. Received undefined

vit*_* 90 8

在更新之后我发生了同样的事情,最后,解决它的是从我的config.xml中删除"config-file"标签

  • 在config.xml文件中我有这一行:"<config-file platform ="android"parent ="/ manifest/application"mode ="merge"> <activity android:launchMode ="singleTop"/> </ config-文件>"我删除它,问题解决了,我使用cordova cli (4认同)