title: can't add plugin org.apache.cordova.geolocation.GeoBroker
body: <p>I am having some problems with PhoneGap 3.0
  Everything was working as should on PhoneGap 2.9</p>
  
  <p>Now I upgraded to 3.0 And created a new PhoneGap Project.</p>
  
  <pre><code>$&gt; phonegap create new_project
  </code></pre>
  
  <p>added to config.xml :</p>
  
  <pre><code>&lt;feature name="http://api.phonegap.com/1.0/geolocation"/&gt;
  </code></pre>
  
  <p>and for index.html I used the full example from <a href="http://docs.phonegap.com/en/edge/cordova_geolocation_geolocation.md.html#geolocation.getCurrentPosition_full_example" rel="nofollow">http://docs.phonegap.com/en/edge/cordova_geolocation_geolocation.md.html#geolocation.getCurrentPosition_full_example</a></p>
  
  <p>then</p>
  
  <pre><code>$&gt; phonegap build android
  </code></pre>
  
  <p>I imported the project to Eclipse and checked the following :
  AndroidManifest.xml has </p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
  </code></pre>
  
  <p>xml/config.xml has</p>
  
  <pre><code>&lt;feature name="Geolocation"&gt;
      &lt;param name="android-package" value="org.apache.cordova.geolocation.GeoBroker" /&gt;
  &lt;/feature&gt;
  </code></pre>
  
  <p>I also used this cmd :</p>
  
  <pre><code>$&gt; phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
  </code></pre>
  
  <p>and that created the package src/</p>
  
  <pre><code>org.apache.cordova.geolocation
  </code></pre>
  
  <p>now when I run my app.
  I got the Following errors :</p>
  
  <pre><code>I/System.out(15155): Error adding plugin org.apache.cordova.geolocation.GeoBroker.
  D/PluginManager(15155): exec() call to unknown plugin: Geolocation
  </code></pre>
  
  <p>error Trace :</p>
  
  <pre><code>09-14 18:07:50.185: W/System.err(28211): java.lang.ClassNotFoundException: org.apache.cordova.geolocation.GeoBroker
  09-14 18:07:50.195: W/System.err(28211):    at java.lang.Class.classForName(Native Method)
  09-14 18:07:50.195: W/System.err(28211):    at java.lang.Class.forName(Class.java:217)
  09-14 18:07:50.195: W/System.err(28211):    at java.lang.Class.forName(Class.java:172)
  09-14 18:07:50.195: W/System.err(28211):    at org.apache.cordova.PluginEntry.getClassByName(PluginEntry.java:117)
  09-14 18:07:50.195: W/System.err(28211):    at org.apache.cordova.PluginEntry.createPlugin(PluginEntry.java:93)
  09-14 18:07:50.195: W/System.err(28211):    at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:267)
  09-14 18:07:50.205: W/System.err(28211):    at org.apache.cordova.PluginManager.execHelper(PluginManager.java:221)
  09-14 18:07:50.205: W/System.err(28211):    at org.apache.cordova.PluginManager.exec(PluginManager.java:216)
  09-14 18:07:50.205: W/System.err(28211):    at org.apache.cordova.ExposedJsApi.exec(ExposedJsApi.java:53)
  09-14 18:07:50.205: W/System.err(28211):    at android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)
  09-14 18:07:50.205: W/System.err(28211):    at android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)
  09-14 18:07:50.205: W/System.err(28211):    at android.webkit.JWebCoreJavaBridge.fireSharedTimer(JWebCoreJavaBridge.java:107)
  09-14 18:07:50.215: W/System.err(28211):    at android.webkit.JWebCoreJavaBridge.handleMessage(JWebCoreJavaBridge.java:136)
  09-14 18:07:50.215: W/System.err(28211):    at android.os.Handler.dispatchMessage(Handler.java:99)
  09-14 18:07:50.215: W/System.err(28211):    at android.os.Looper.loop(Looper.java:154)
  09-14 18:07:50.215: W/System.err(28211):    at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:780)
  09-14 18:07:50.215: W/System.err(28211):    at java.lang.Thread.run(Thread.java:864)
  09-14 18:07:50.225: W/System.err(28211): Caused by: java.lang.NoClassDefFoundError: org/apache/cordova/geolocation/GeoBroker
  09-14 18:07:50.225: W/System.err(28211):    ... 17 more
  09-14 18:07:50.225: W/System.err(28211): Caused by: java.lang.ClassNotFoundException: org.apache.cordova.geolocation.GeoBroker
  09-14 18:07:50.225: W/System.err(28211):    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
  09-14 18:07:50.225: W/System.err(28211):    at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
  09-14 18:07:50.225: W/System.err(28211):    at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
  09-14 18:07:50.235: W/System.err(28211):    ... 17 more
  </code></pre>
  
  <p>and the Javascript function onError()
  alert with code:null &amp; message:</p>
  
  <p>Any suggestions ?</p>
  
  <p>Thank you in Advance</p>