Hi guys,
When I deploy ionic app to android, it alert [ERROR] Error initializing Cordova: class not found
and LogCat show
Error opening /sys/devices/system/cpu/cpufreq/interactive/boostpulse: Permission denied
Message.
How can I fix this question.(Android 4.3 + JDK 1.6 + OS 10.9.4)
thanks.
I already try
cordova platform rm android
cordova platform add android
but it still not work
I’ve had problems using the Ionic CLI when building apps. After using Ionic CLI to create the project, I’ve just been using the Cordova CLI and I haven’t had problems since.
I found that the problem only occurred when I manually deleted the android folder from platforms using finder. This happened with any combination of the building commands. This doesn’t happen with a plain cordova project so it has to do with the ionic app environment.
If you remove android with CLI and re-add it build fine using any of the commands for me. Not sure why this didn’t work for @jimmy.
If you need any more information let me know. I’m on OS X Mavericks if that helps