Phonegap 3.1.0 connection error: error adding the org.apache.cordova.device.Device plugin

I created an application in Phonegap 3.1.0 that works fine on iOS. But when deployed to android, it gives errors with plugins in Eclipse on LogCat.

error adding plugin org.apache.cordova.device.Device

and after clicking on the warning "[ERROR] Cordoba initialization error: class not found" I get more errors:

Error adding plugin org.apache.cordova.networkinformation.NetworkManager

I added everything through the CLI, and as I mentioned, it works on iOS. And of course, I followed the recommendations of Phonegap.

LogCat output with "plugin" filter

These mistakes drive me crazy. I have been up and down Google, and all the "solutions" do not work. All this applies to previous versions where there were XML errors / errors.

Any help is much appreciated!

+4
source share

Source: https://habr.com/ru/post/1523425/


All Articles