我正在使用Ionic,在添加人行横道Web之前,我从来没有遇到过这个问题。当我使用cordova android@4.1时,我也没有问题。这个错误发生在cordova android@5.1.1和所有版本的人行横道上。
Android v2.1
分级版本v2.2.1
Android插件版本v1.5.0
当我尝试同步我的gradle时,我在Android中得到了这个错误。我正在使用最新的sdk-23和ndk工具的修订版.
NDK integration is deprecated in the current plugin
Error:(186, 0) Consider t
我正在为安卓和iOS开发一个phonegap应用程序。我还使用Twilio和OpenTok SDK。在挣扎了一段时间后,我可以让这两个SDK在IOS中工作。openssl库有一个问题,因为两个sdk都使用它。
然而,当在Android上测试时,我有链接器问题。链接器找不到opentok.so,就在twilio native.so存在下。删除twilio引用后,所有操作都正确。
我已经在Android4.3和Android5.0上测试了它。
I/OTPlugin( 7998): initSession
I/OTPlugin( 7998): created new session with dat
D:\myApp>ionic run android
Running command: D:\environment\nodejs\node.exe D:\myApp\hooks\after_prepare\010_add_platform_class.js D:\myApp
add to body class: platform-android
ANDROID_HOME=D:\environment\Android\sdk
JAVA_HOME=D:\environment\Java\jdk
Subproject Path: CordovaLib
Starting a new
运行ionic build android
并得到以下错误:
ionic build android
✗ (node:7124) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
ANDROID_HOME=C:\Users\Benda\AppData\Local\Android\android-sdk
JAVA_HOME=C:\Program Files\Jav
我在我的ionic项目中使用了onesignal-cordova-plugin。我已经按照文档添加了插件。 ionic cordova plugin add onesignal-cordova-plugin
npm install @ionic-native/onesignal 但是一旦我构建好了,应用程序日志就会说 Native: tried calling OneSignal.startInit, but the OneSignal plugin is not installed. 我试过移除android和readding,但不起作用。插件列表显示了一个信号。 Ionic:
I
自从Google以他们的无限智慧决定从Android 4.4中移除文件上传支持,我就一直在想如何在我正在编写的应用程序中添加一个文件选择器。
我添加了cdibened 的FileChooser插件,但每次我尝试构建Android版本时,我都会得到以下错误:
BUILD FAILED
C:\Users\USER\AppData\Local\Android\sdk\tools\ant\build.xml:720: The following
error occurred while executing this line:
C:\Users\USER\AppData\Local\Android\
当使用NFC库时,Ionic推荐的() (),当我试图通过‘离子服务-吞食应用程序’命令访问组件中调用ndef或nfc提供者的代码时,会出现一个‘插件未安装’错误。它还说devapp不支持这个插件,但我不清楚在这种情况下我应该如何使用这个程序包。
在按照Ionic 3的建议指定版本4之后,我得到了一个不同的错误。这是在安装了rxjs之后,nfc/ndef代码中没有一个实际使用模块和组件中的导入以及构造函数中的注入。
这是使用“导入{Ndef,NFC}从‘@离子型-本机/nfc’”;而不是像上面那样使用/nfc/ngx。
Uncaught TypeError: Object(...) is no
我无法从cordova中删除任何插件。当我在android中安装cordova-firebase-plugin时,它崩溃了。
> cordova plugin remove cordova-plugin-firebase
Uninstalling cordova-plugin-firebase from android
Error during processing of action! Attempting to revert...
Uh oh!
ENOENT: no such file or directory, open '/home/abhishek/client_pro
我找到了以下问题的解决方案,我只想为任何有同样问题的人记录解决方案。
在PhoneGap安卓构建日志中,我有以下错误:
Installing "cordova-plugin-file-opener2" at "2.0.7" for android
Using this version of Cordova with older version of cordova-android is being deprecated. Consider upgrading to cordova-android@5.0.0 or newer.
----------------