When I run
ionic cordova run android --livereload with my android device on the same wifi network as my laptop, the app loads fine. However, when I try to play native sounds or use the HTTP library from the native plugins, there is an alert that is issued that says “Cordova not available”. I am not sure why this is. How can I run the live-reload with native plugins?
When I run
I have the same problem: frown: I think it happens when the cli ion is updated, maybe with a downgrade it can work.
Yeah the problem showed up after the most recent update. I ran the ionic cordova doctor command which recommended the updates.
Did you solve it?
I found this:
No I have not. Hm, not sure if that link helps.
well, while someone solves the problem, you can try to update this file
It was exactly like the description in the link above
Works for me, I hope this will help
Thanks, but this works once, after reload i still having the same error
plugin_not_installed, please provide us a solution.
cli packages: (/usr/local/lib/node_modules) @ionic/cli-utils : 1.19.0 ionic (Ionic CLI) : 3.19.0 global packages: cordova (Cordova CLI) : 8.0.0 local packages: @ionic/app-scripts : 3.1.7 Cordova Platforms : android 7.0.0 Ionic Framework : ionic-angular 3.9.2 System: ios-deploy : 1.9.1 ios-sim : 5.0.8 Node : v9.2.1 npm : 3.10.10 OS : macOS High Sierra Xcode : Xcode 9.2 Build version 9C40b Environment Variables: ANDROID_HOME : not set Misc: backend : legacy
Same issue here after upgrading to Cordova tools 8.0.
Currently builds and run without Live Reload option, however adding --livereload causes the emulator to not load plugins because it’s missing Cordova
cli packages: (xxx\node_modules)
@ionic/cli-utils : 1.19.0 ionic (Ionic CLI) : 3.19.0
cordova (Cordova CLI) : 8.0.0
@ionic/app-scripts : 3.1.7 Cordova Platforms : android 7.0.0 Ionic Framework : ionic-angular 3.9.2
Android SDK Tools : 26.1.1
Node : v6.11.4
npm : 5.4.2
OS : Windows 10
ANDROID_HOME : C:\Android\sdk
backend : legacy
Same error here. Last versions of all. Any update?
+1 here since I upgraded Ionic CLI and Cordova and Platforms, so I don’t know where os the origin of the problem