离子应用程序在Android上运行,但在iOS上出现多个插件的plugin_not_installed错误

ir2pid

我的应用程序可以在android上很好地运行,但使用相同的插件,该应用程序会为多个插件提供多个plugin_not_installed错误

错误:

[Warning] Ionic Native: tried calling HTTP.setDataSerializer, but the HTTP plugin is not installed. (vendor.js, line 61253)
[Warning] Install the HTTP plugin: 'ionic cordova plugin add cordova-plugin-advanced-http' (vendor.js, line 61265)
[Warning] 'Ionic Native: tried accessing the SecureStorage plugin but it's not installed. (vendor.js, line 61262)
[Warning] Install the SecureStorage plugin: 'ionic cordova plugin add cordova-plugin-secure-storage' (vendor.js, line 61265)
[Warning] Ionic Native: tried calling AppVersion.getAppName, but the AppVersion plugin is not installed. (vendor.js, line 61253)
[Warning] Install the AppVersion plugin: 'ionic cordova plugin add cordova-plugin-app-version' (vendor.js, line 61265)
[Warning] Ionic Native: tried calling HTTP.setDataSerializer, but the HTTP plugin is not installed. (vendor.js, line 61253)
[Warning] Install the HTTP plugin: 'ionic cordova plugin add cordova-plugin-advanced-http' (vendor.js, line 61265)
[Warning] Ionic Native: tried calling HTTP.setSSLCertMode, but the HTTP plugin is not installed. (vendor.js, line 61253)
[Warning] Install the HTTP plugin: 'ionic cordova plugin add cordova-plugin-advanced-http' (vendor.js, line 61265)
[Warning] Ionic Native: tried calling HTTP.post, but the HTTP plugin is not installed. (vendor.js, line 61253)
[Warning] Install the HTTP plugin: 'ionic cordova plugin add cordova-plugin-advanced-http' (vendor.js, line 61265)

已经采取的步骤:

  • 新鲜的node_modules,插件,平台文件夹
  • 在cordova-ios 4.5.4和cordova-ios 5.0.1上测试
  • 检查是否已安装插件和npm依赖项。
  • 确保在isPlatformReady()之后调用本机命令

离子性:

   Ionic CLI          : 5.2.8 (/Users/xx/.nvm/versions/node/v10.14.0/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.4

Cordova:

   Cordova CLI       : 9.0.0 ([email protected])
   Cordova Platforms : android 8.1.0, ios 5.0.1
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.2, (and 21 other plugins)

Utility:

   cordova-res : 0.6.0 (update available: 0.8.0)
   native-run  : 0.2.8 

System:

   Android SDK Tools : 26.1.1 (/Users/xx/Library/Android/sdk)
   ios-deploy        : 1.9.4
   ios-sim           : 8.0.1
   NodeJS            : v10.14.0 (/Users/xx/.nvm/versions/node/v10.14.0/bin/node)
   npm               : 6.5.0
   OS                : macOS Mojave
   Xcode             : Xcode 11.1 Build version 11A1027

已安装插件:

com.adjust.sdk 4.18.0 "Adjust"
cordova-clipboard 1.3.0 "Clipboard"
cordova-plugin-add-swift-support 2.0.2 "AddSwiftSupport"
cordova-plugin-advanced-http 2.2.0 "Advanced HTTP plugin"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-camera 4.1.0 "Camera"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-firebase 2.0.5 "Google Firebase Plugin"
cordova-plugin-firebase-lib 5.1.1 "Google Firebase Plugin"
cordova-plugin-inappbrowser 3.1.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.1.2 "cordova-plugin-ionic-webview"
cordova-plugin-is-debug 1.0.0 "IsDebug"
cordova-plugin-media 5.0.3 "Media"
cordova-plugin-media-capture 3.0.3 "Capture"
cordova-plugin-network-information 2.0.2 "Network Information"
cordova-plugin-secure-storage 3.0.2 "SecureStorage"
cordova-plugin-splashscreen 5.0.3 "Splashscreen"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-plugin-x-socialsharing 5.6.0 "SocialSharing"
es6-promise-plugin 4.2.2 "Promise"
phonegap-plugin-barcodescanner 8.1.0 "BarcodeScanner"
ir2pid

当我遇到奇怪的错误时,最好的解决方案是清理并重置项目

  • 删除文件夹:node_modules,平台,插件,www
  • 再次使用安装依赖项 npm i
  • ionic cordova run ios

package.json包含所有依赖项和插件信息以恢复项目

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

无法在 iOS 上运行应用程序 Nativescript 但在 android 上运行

来自分类Dev

在模拟器上执行应用程序时出现 Android 运行时错误

来自分类Dev

从其他位置运行的离子应用程序出现错误

来自分类Dev

我的 iOS 应用程序仅在 iPhone 上崩溃,但在 iPad 上运行

来自分类Dev

Android应用程序在Dalvik上运行,但在Android Runtime上崩溃并显示NoClassDefFoundError

来自分类Dev

Android应用程序在Dalvik上运行,但在Android Runtime上因NoClassDefFoundError崩溃

来自分类Dev

如何在PC上运行iOS或Android应用程序?

来自分类Dev

科尔多瓦离子应用程序无法在Android 9 && 10上运行

来自分类Dev

在macOS上运行iOS应用程序

来自分类Dev

在流星应用程序上运行ios模拟器时出现错误“命令失败,退出代码为66”

来自分类Dev

在Android而非iOS上使用离子崩溃构建的混合应用程序

来自分类Dev

离子应用程序可与iOS一起使用,但不能在Android上使用

来自分类Dev

Android:应用程序在模拟器上运行,但在我的手机上崩溃

来自分类Dev

应用程序在我的真机中崩溃,但在 Android 模拟器上运行良好

来自分类Dev

Xamarin 表单,在 Visual Studio Android Emulator 上运行的应用程序但在真实设备上崩溃

来自分类Dev

在IntelliJ 14上运行Spring MVC Web应用程序时出现Tomcat错误

来自分类Dev

在我的create-react-app应用程序上运行电子构建会出现错误?

来自分类Dev

在Mac上运行某些应用程序时出现问题,没有错误消息

来自分类Dev

向在 ngrok 上运行的应用程序发送发布请求时出现 502 错误

来自分类Dev

在 Meteor 演示应用程序上运行测试时出现超时错误

来自分类Dev

在服务器上运行但未在devbox上运行的Spring MVC应用程序中出现404错误

来自分类Dev

在Heroku上运行应用程序,但在其他数据库上运行

来自分类Dev

添加Cordova白名单插件后,设备“无法加载资源”上的离子应用程序

来自分类Dev

在运行tns的情况下,在同一Android设备上运行多个NativeScript应用程序时出现问题

来自分类Dev

在iOS 7.1上出现“由于证书无效而无法安装应用程序”错误

来自分类Dev

无法在 Android 模拟器上运行应用程序:运行 AVD 需要 kvm 错误消息

来自分类Dev

应用程序在所有版本的 iphone 上运行良好,但在 iphone X 线程 1:信号 sigabrt 错误

来自分类Dev

通过CMake构建的ios上Qt应用程序的运行时错误

来自分类Dev

iPhone 5屏幕在我的应用程序中为黑色,但在其他应用程序上运行正常,未记录任何错误消息

Related 相关文章

  1. 1

    无法在 iOS 上运行应用程序 Nativescript 但在 android 上运行

  2. 2

    在模拟器上执行应用程序时出现 Android 运行时错误

  3. 3

    从其他位置运行的离子应用程序出现错误

  4. 4

    我的 iOS 应用程序仅在 iPhone 上崩溃,但在 iPad 上运行

  5. 5

    Android应用程序在Dalvik上运行,但在Android Runtime上崩溃并显示NoClassDefFoundError

  6. 6

    Android应用程序在Dalvik上运行,但在Android Runtime上因NoClassDefFoundError崩溃

  7. 7

    如何在PC上运行iOS或Android应用程序?

  8. 8

    科尔多瓦离子应用程序无法在Android 9 && 10上运行

  9. 9

    在macOS上运行iOS应用程序

  10. 10

    在流星应用程序上运行ios模拟器时出现错误“命令失败,退出代码为66”

  11. 11

    在Android而非iOS上使用离子崩溃构建的混合应用程序

  12. 12

    离子应用程序可与iOS一起使用,但不能在Android上使用

  13. 13

    Android:应用程序在模拟器上运行,但在我的手机上崩溃

  14. 14

    应用程序在我的真机中崩溃,但在 Android 模拟器上运行良好

  15. 15

    Xamarin 表单,在 Visual Studio Android Emulator 上运行的应用程序但在真实设备上崩溃

  16. 16

    在IntelliJ 14上运行Spring MVC Web应用程序时出现Tomcat错误

  17. 17

    在我的create-react-app应用程序上运行电子构建会出现错误?

  18. 18

    在Mac上运行某些应用程序时出现问题,没有错误消息

  19. 19

    向在 ngrok 上运行的应用程序发送发布请求时出现 502 错误

  20. 20

    在 Meteor 演示应用程序上运行测试时出现超时错误

  21. 21

    在服务器上运行但未在devbox上运行的Spring MVC应用程序中出现404错误

  22. 22

    在Heroku上运行应用程序,但在其他数据库上运行

  23. 23

    添加Cordova白名单插件后,设备“无法加载资源”上的离子应用程序

  24. 24

    在运行tns的情况下,在同一Android设备上运行多个NativeScript应用程序时出现问题

  25. 25

    在iOS 7.1上出现“由于证书无效而无法安装应用程序”错误

  26. 26

    无法在 Android 模拟器上运行应用程序:运行 AVD 需要 kvm 错误消息

  27. 27

    应用程序在所有版本的 iphone 上运行良好,但在 iphone X 线程 1:信号 sigabrt 错误

  28. 28

    通过CMake构建的ios上Qt应用程序的运行时错误

  29. 29

    iPhone 5屏幕在我的应用程序中为黑色,但在其他应用程序上运行正常,未记录任何错误消息

热门标签

归档