N/APosted on - 04/12/2014
This error appeared in Apache Cordova when I have connected my android phone to my PC. I never had this kind of error before and everything worked fine. Now I am stuck with error and please is there an expert online that can help me with this ? Is something wrong with my phone ?
Connecting to Device
Device is Ready
[ERROR] Error initializing Cordova: Class not found
Apache Cordova cannot connect to Android phone
This behavior is caused by the bug in the Hydration feature of Apache Cordova which makes the device plugin load too soon, triggering the "Class Not Found" error. To fix this problem, do the following:
1. Launch Apache Cordova.
2. Make sure you have the latest stable version (3.4.0) and update if you don't by clicking here
3. Disable the Hydration feature.
After these steps, you will no longer get the "Class Not Found" error.