PhoneGap Resolving errors: Error initializing Cordova:class not found

Source: Internet
Author: User



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


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.