Phonegap Resolving errors:
Alert
[ERROR] Error initializing Cordova:class not found
Find the cause of the bug after the online said that because the Res/xml folder is not found in the config file;
But I have this config.
I thought about it because I didn't find the feature configuration in the specified config.
I finally found it because the device information I called the system was not tagged.
[HTML]View PlainCopy
<!-- Equipment -->
<feature name="Device" >
<param
Name="android-package"
Value="org.apache.cordova.device.Device" />
</feature>
This bug occurs because the plugin that calls PhoneGap does not find the corresponding Java class
Solution Ideas:
1 Check the Res/xml directory for the. config file
2 Check if the feature tag is perfect in the. config file
PhoneGap Resolving errors: Error initializing Cordova:class not found