title: Getting Error while adding Email composer plugin in phonegap "Error adding plugin com.example.abc"
body: <p>I am using <strong>Email Composer</strong> in my app .I download plugin from Internet for Android .
  <a href="https://github.com/phonegap/phonegap-plugins/tree/master/Android/EmailComposerWithAttachments" rel="nofollow">https://github.com/phonegap/phonegap-plugins/tree/master/Android/EmailComposerWithAttachments</a>.
  And after that i do that same thing which is written in the Readme File.</p>
  
  <p>Add java file in my src code.
  add js file in my js folder.
  Add plugin in <code>config.xml</code> file.</p>
  
  <pre><code>&lt;plugin name="EmailComposer" value="com.example.procat"/&gt;
  </code></pre>
  
  <p>But still i am getting this error.</p>
  
  <pre><code>***06-30 11:23:47.507: D/CordovaLog(660): ****************************AVVIATO
  06-30 11:23:47.507: I/Web Console(660): ****************************AVVIATO at file:///android_asset/www/js/EmailComposer.js:20
  06-30 11:23:47.507: W/System.err(660): java.lang.ClassNotFoundException: com.example.procat
  06-30 11:23:47.517: W/System.err(660):  at java.lang.Class.classForName(Native Method)
  06-30 11:23:47.517: W/System.err(660):  at java.lang.Class.forName(Class.java:227)
  06-30 11:23:47.517: W/System.err(660):  at java.lang.Class.forName(Class.java:174)
  06-30 11:23:47.517: W/System.err(660):  at org.apache.cordova.api.PluginEntry.getClassByName(PluginEntry.java:102)
  06-30 11:23:47.517: W/System.err(660):  at org.apache.cordova.api.PluginEntry.createPlugin(PluginEntry.java:78)
  06-30 11:23:47.517: W/System.err(660):  at org.apache.cordova.api.PluginManager.getPlugin(PluginManager.java:258)
  06-30 11:23:47.517: W/System.err(660):  at org.apache.cordova.api.PluginManager.exec(PluginManager.java:215)
  06-30 11:23:47.527: W/System.err(660):  at org.apache.cordova.ExposedJsApi.exec(ExposedJsApi.java:51)
  06-30 11:23:47.527: W/System.err(660):  at org.apache.cordova.CordovaChromeClient.onJsPrompt(CordovaChromeClient.java:221)
  06-30 11:23:47.527: W/System.err(660):  at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:581)
  06-30 11:23:47.527: W/System.err(660):  at android.os.Handler.dispatchMessage(Handler.java:99)
  06-30 11:23:47.537: W/System.err(660):  at android.os.Looper.loop(Looper.java:132)
  06-30 11:23:47.537: W/System.err(660):  at android.app.ActivityThread.main(ActivityThread.java:4123)
  06-30 11:23:47.537: W/System.err(660):  at java.lang.reflect.Method.invokeNative(Native Method)
  06-30 11:23:47.537: W/System.err(660):  at java.lang.reflect.Method.invoke(Method.java:491)
  06-30 11:23:47.537: W/System.err(660):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
  06-30 11:23:47.537: W/System.err(660):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
  06-30 11:23:47.537: W/System.err(660):  at dalvik.system.NativeStart.main(Native Method)
  06-30 11:23:47.547: W/System.err(660): Caused by: java.lang.NoClassDefFoundError: com.example.procat
  06-30 11:23:47.547: W/System.err(660):  ... 18 more
  06-30 11:23:47.557: W/System.err(660): Caused by: java.lang.ClassNotFoundException: com.example.procat in loader dalvik.system.PathClassLoader[/data/app/com.example.procat-1.apk]
  06-30 11:23:47.557: W/System.err(660):  at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:251)
  06-30 11:23:47.568: W/System.err(660):  at java.lang.ClassLoader.loadClass(ClassLoader.java:540)
  06-30 11:23:47.568: W/System.err(660):  at java.lang.ClassLoader.loadClass(ClassLoader.java:500)
  06-30 11:23:47.568: W/System.err(660):  ... 18 more
  06-30 11:23:47.568: I/System.out(660): Error adding plugin com.example.procat.
  06-30 11:23:47.568: D/PluginManager(660): exec() call to unknown plugin: EmailComposer***
  </code></pre>