CordovaResourceApi import unresolved phonegap CordovaResourceApi import unresolved phonegap android android

CordovaResourceApi import unresolved phonegap


You have two problems.

1) Version of Phonegap is outdated

2) The way to install a plugin is:

-> phonegap plugin add "urlofplugin" or "/path""

-> phonegap platform add android

-> phonegap prepare

-> phonegap build

sometimes the plugin has a different default installation, the files need to change the platform.


Well, I dont know if I can help you, but I had similar problems. When I installed exactly those two plugins I got an error too. A different one, which I dont perticularly remember, something to do with a missing file that I can easily find in the file manager. Anyway, what helped me was:

  1. I updated to a more recent version, if you are able to I advice for it.
  2. After installing the plugins through cordova cmd api (.nodejs command prompt ... you know what I mean) I was forgetting to build in the api itself. It sounds stupid but I was using wp8 and thus using a template for visual studio. The studio gave me the error, the building process (in cmd) also gave errors, but it was fixed by updating to the newer version.


You need to configure you build path and then add library from external source and select the library then it will resolve or u can make copy and paste cordova library .jar file in your lib folder. then it will remove, if not happen then tell me .......