cordova - 路径必须是字符串。将我的 Cordova 升级到 7.1.0 后收到未定义的消息

标签 cordova cordova-plugins

E:\ionic template\gb\IonicMaterialDesign>cordova platform add android

Using cordova-fetch for cordova-android@~6.3.0 Adding android project... 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 Installing

"cordova-plugin-background-mode" for android android-sdk version check failed ("E:\ionic template\gb\IonicMaterialDesign\platforms\android\cordova\android_sdk_version"), continuing anyways.

插件依赖项“cordova-plugin-device@1.1.2” 已经获取,使用该版本。安装

"cordova-plugin-device" for android Installing

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

CordovaLib After much discussion and analysis of the market, we have decided to discontinue support for Android 4.0 (ICS) in Crosswalk starting with version 20. So the minSdkVersion of Cordova project is configured to 16 by default.

`依赖插件“cordova-plugin-device”

already installed on 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 Installing

"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

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

dependencies ok

错误:路径必须是字符串。收到未定义

最佳答案

更新后我也发生了同样的事情,最后解决这个问题的是从我的 config.xml 中删除“config-file”标签

关于cordova - 路径必须是字符串。将我的 Cordova 升级到 7.1.0 后收到未定义的消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46987856/

相关文章:

android - 在 cordova plugin.xml 中使用 gradleReference 特性

javascript - 在phonegap中使用indexededDb

ios - 在 Phonegap iOS 应用程序中查看/下载文件

ios - 修改 "*-Info.plist"CFBundleURLTypes 的两个 cordova 插件

Cordova 如何在从仓库 checkout 项目后安装缺少的插件?

javascript - 文件阅读器无法正常工作 PhoneGap Windows

android - 关闭键盘后在错误的位置重新绘制 View - Cordova/PhoneGap - Android

javascript - 无法访问cordova SQLite存储插件

javascript - 如何用Cordova实现onReset?

ios - 在 hooks 文件夹中使用节点脚本时出现 cordova 插件安装问题