title: titanium android module error when packaging
body: <p>I have a problem similar to <a href="https://stackoverflow.com/questions/13817629/error-you-may-need-to-install-the-command-line-tools-package-through-xcode-whe">this</a></p>
  
  <p>I typed to the terminal the <code>ant</code> command where the module path is and that's the result</p>
  
  <pre><code>Buildfile: /Users/casanostra/Desktop/titanium/deezer-android-module/build.xml
  
  python.set.exec:
  
  python.check:
       [echo] Testing for Python
       [exec] Python 2.7.2
  
  init:
  
  process.annotations:
      [javac] Compiling 3 source files to /Users/casanostra/Desktop/titanium/deezer-android-module/build/classes
      [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
      [javac] Note: [KrollBindingGen] Running Kroll binding generator.
      [javac] Note: [KrollBindingGen] Succesfully loaded existing binding data: /Users/casanostra/Desktop/titanium/deezer-android-module/build/generated/json/org/appcelerator/titanium/bindings/deezer-android-module.json
      [javac] Note: [KrollBindingGen] Found binding for module DeezerAndroidModule
      [javac] Note: [KrollBindingGen] Found binding for proxy Example
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/DeezerAndroidModuleModule.java:23: error: package com.deezer.sdk does not exist
      [javac] import com.deezer.sdk.*;
      [javac] ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/DeezerAndroidModuleModule.java:49: error: cannot find symbol
      [javac]     private DeezerConnect deezerConnect = new DeezerConnectImpl( APP_ID );
      [javac]             ^
      [javac]   symbol:   class DeezerConnect
      [javac]   location: class DeezerAndroidModuleModule
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:8: error: package com.deezer.sdk does not exist
      [javac] import com.deezer.sdk.DeezerConnect;
      [javac]                      ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:9: error: package com.deezer.sdk does not exist
      [javac] import com.deezer.sdk.DeezerError;
      [javac]                      ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:10: error: package com.deezer.sdk does not exist
      [javac] import com.deezer.sdk.DeezerRequest;
      [javac]                      ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:11: error: package com.deezer.sdk does not exist
      [javac] import com.deezer.sdk.DialogError;
      [javac]                      ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:12: error: package com.deezer.sdk does not exist
      [javac] import com.deezer.sdk.DialogListener;
      [javac]                      ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:13: error: package com.deezer.sdk does not exist
      [javac] import com.deezer.sdk.OAuthException;
      [javac]                      ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:15: error: cannot find symbol
      [javac]  class MyDialogHandler implements DialogListener {
      [javac]                                   ^
      [javac]   symbol: class DialogListener
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:16: error: cannot find symbol
      [javac]      private DeezerConnect deezerConnect;
      [javac]              ^
      [javac]   symbol:   class DeezerConnect
      [javac]   location: class MyDialogHandler
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:17: error: cannot find symbol
      [javac]      public MyDialogHandler(DeezerConnect deezerConnect){
      [javac]                             ^
      [javac]   symbol:   class DeezerConnect
      [javac]   location: class MyDialogHandler
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:27: error: cannot find symbol
      [javac]     public void onDeezerError(final DeezerError deezerError) {
      [javac]                                     ^
      [javac]   symbol:   class DeezerError
      [javac]   location: class MyDialogHandler
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:32: error: cannot find symbol
      [javac]     public void onError(final DialogError dialogError) {
      [javac]                               ^
      [javac]   symbol:   class DialogError
      [javac]   location: class MyDialogHandler
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:42: error: cannot find symbol
      [javac]     public void onOAuthException(OAuthException oAuthException) {
      [javac]                                  ^
      [javac]   symbol:   class OAuthException
      [javac]   location: class MyDialogHandler
      [javac] Note: [KrollBindingGen] Generating JSON: file:/Users/casanostra/Desktop/titanium/deezer-android-module/build/generated/json/org/appcelerator/titanium/bindings/deezer-android-module.json
      [javac] warning: The following options were not recognized by any processor: '[kroll.checkTiContext]'
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/DeezerAndroidModuleModule.java:23: error: package com.deezer.sdk does not exist
      [javac] import com.deezer.sdk.*;
      [javac] ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/DeezerAndroidModuleModule.java:49: error: cannot find symbol
      [javac]     private DeezerConnect deezerConnect = new DeezerConnectImpl( APP_ID );
      [javac]             ^
      [javac]   symbol:   class DeezerConnect
      [javac]   location: class DeezerAndroidModuleModule
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:8: error: package com.deezer.sdk does not exist
      [javac] import com.deezer.sdk.DeezerConnect;
      [javac]                      ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:9: error: package com.deezer.sdk does not exist
      [javac] import com.deezer.sdk.DeezerError;
      [javac]                      ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:10: error: package com.deezer.sdk does not exist
      [javac] import com.deezer.sdk.DeezerRequest;
      [javac]                      ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:11: error: package com.deezer.sdk does not exist
      [javac] import com.deezer.sdk.DialogError;
      [javac]                      ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:12: error: package com.deezer.sdk does not exist
      [javac] import com.deezer.sdk.DialogListener;
      [javac]                      ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:13: error: package com.deezer.sdk does not exist
      [javac] import com.deezer.sdk.OAuthException;
      [javac]                      ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:15: error: cannot find symbol
      [javac]  class MyDialogHandler implements DialogListener {
      [javac]                                   ^
      [javac]   symbol: class DialogListener
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:16: error: cannot find symbol
      [javac]      private DeezerConnect deezerConnect;
      [javac]              ^
      [javac]   symbol:   class DeezerConnect
      [javac]   location: class MyDialogHandler
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:17: error: cannot find symbol
      [javac]      public MyDialogHandler(DeezerConnect deezerConnect){
      [javac]                             ^
      [javac]   symbol:   class DeezerConnect
      [javac]   location: class MyDialogHandler
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:27: error: cannot find symbol
      [javac]     public void onDeezerError(final DeezerError deezerError) {
      [javac]                                     ^
      [javac]   symbol:   class DeezerError
      [javac]   location: class MyDialogHandler
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:32: error: cannot find symbol
      [javac]     public void onError(final DialogError dialogError) {
      [javac]                               ^
      [javac]   symbol:   class DialogError
      [javac]   location: class MyDialogHandler
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:42: error: cannot find symbol
      [javac]     public void onOAuthException(OAuthException oAuthException) {
      [javac]                                  ^
      [javac]   symbol:   class OAuthException
      [javac]   location: class MyDialogHandler
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/DeezerAndroidModuleModule.java:49: error: cannot find symbol
      [javac]     private DeezerConnect deezerConnect = new DeezerConnectImpl( APP_ID );
      [javac]                                               ^
      [javac]   symbol:   class DeezerConnectImpl
      [javac]   location: class DeezerAndroidModuleModule
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/DeezerAndroidModuleModule.java:79: error: cannot find symbol
      [javac]         DeezerRequest request = new DeezerRequest( "/user/me" );
      [javac]         ^
      [javac]   symbol:   class DeezerRequest
      [javac]   location: class DeezerAndroidModuleModule
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/DeezerAndroidModuleModule.java:79: error: cannot find symbol
      [javac]         DeezerRequest request = new DeezerRequest( "/user/me" );
      [javac]                                     ^
      [javac]   symbol:   class DeezerRequest
      [javac]   location: class DeezerAndroidModuleModule
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/DeezerAndroidModuleModule.java:90: error: cannot find symbol
      [javac]         catch (OAuthException e) {
      [javac]                ^
      [javac]   symbol:   class OAuthException
      [javac]   location: class DeezerAndroidModuleModule
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/DeezerAndroidModuleModule.java:93: error: cannot find symbol
      [javac]         } catch (DeezerError e) {
      [javac]                  ^
      [javac]   symbol:   class DeezerError
      [javac]   location: class DeezerAndroidModuleModule
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:21: error: method does not override or implement a method from a supertype
      [javac]     @Override
      [javac]     ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:26: error: method does not override or implement a method from a supertype
      [javac]     @Override
      [javac]     ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:31: error: method does not override or implement a method from a supertype
      [javac]     @Override
      [javac]     ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:36: error: method does not override or implement a method from a supertype
      [javac]     @Override
      [javac]     ^
      [javac] /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/MyDialogHandler.java:41: error: method does not override or implement a method from a supertype
      [javac]     @Override
      [javac]     ^
      [javac] Note: /Users/casanostra/Desktop/titanium/deezer-android-module/src/com/deezer/android/ExampleProxy.java uses or overrides a deprecated API.
      [javac] Note: Recompile with -Xlint:deprecation for details.
      [javac] 24 errors
      [javac] 1 warning
  
  BUILD FAILED
  /Users/casanostra/Library/Application Support/Titanium/mobilesdk/osx/3.1.1.GA/module/android/build.xml:163: Compile failed; see the compiler error output for details.
  </code></pre>
  
  <p>when packaging the module for my titanium project, the console output is displaying</p>
  
  <pre><code>Compile failed; see the compiler error output for details. You may need to install the Command Line Tools package through XCode, in case you haven't done so yet.
  </code></pre>
  
  <p>of course I installed the command line tools package.
  it seems it didn't catched the deezer library that I imported via eclipse. </p>
  
  <p>the ndk path is correct.</p>
  
  <p>my build.properties contains the following lines</p>
  
  <pre><code>titanium.platform=/Users/casanostra/Library/Application Support/Titanium/mobilesdk/osx/3.1.1.GA/android
  android.platform=/Users/casanostra/Documents/android/platforms/android-8
  google.apis=/Users/casanostra/Documents/android/add-ons/addon-google_apis-google-8
  </code></pre>
  
  <p>those paths are corrects. I even tried to change to android-10 and google apis 10 with the same result.</p>
  
  <p>and finally there's my .classpath file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;classpath&gt;
      &lt;classpathentry kind="src" path="src"/&gt;
      &lt;classpathentry kind="src" path="build/.apt_generated"/&gt;
      &lt;classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/&gt;
      &lt;classpathentry kind="lib" path="/Users/casanostra/Documents/android/platforms/android-10/android.jar"/&gt;
      &lt;classpathentry kind="lib" path="/Users/casanostra/Documents/android/add-ons/addon-google_apis-google-10/libs/maps.jar"/&gt;
      &lt;classpathentry kind="lib" path="/Users/casanostra/Library/Application Support/Titanium/mobilesdk/osx/3.1.1.GA/android/titanium.jar"/&gt;
      &lt;classpathentry kind="lib" path="/Users/casanostra/Library/Application Support/Titanium/mobilesdk/osx/3.1.1.GA/android/kroll-common.jar"/&gt;
      &lt;classpathentry kind="lib" path="/Users/casanostra/Library/Application Support/Titanium/mobilesdk/osx/3.1.1.GA/android/kroll-apt.jar"/&gt;
      &lt;classpathentry kind="src" path=".apt_generated"&gt;
          &lt;attributes&gt;
              &lt;attribute name="optional" value="true"/&gt;
          &lt;/attributes&gt;
      &lt;/classpathentry&gt;
      &lt;classpathentry kind="lib" path="/Users/casanostra/Downloads/deezer-android-sdk-0.9.3-v00201005/deezer-sdk-0.9.3.jar"/&gt;
      &lt;classpathentry kind="output" path="bin"/&gt;
  &lt;/classpath&gt;
  </code></pre>
  
  <p>I tried also to clean the project and delete the build folder before to build the project.</p>
  
  <p>can anybody help me?</p>