17 Replies Latest reply on Sep 4, 2015 6:51 PM by Mark Nongkhlaw

    Failed to build 5.2.2/android missing org.apache.http

    Jon Tara

      Looks like a missing dependency?

       

      Not sure why this would build for anybody else.

       

      My Android SDK is up-to-date. (Maybe that's a problem!)

       

      I tried with NDK n9d based on other posts on the thread.

       

      PWD: /Users/jon/.rvm/gems/ruby-2.2.3@watusi-rhodes-5.2.2-75fd4c2/gems/rhodes-5.2.2

      CMD: /Library/Java/Home/bin/javac -g -d /Users/jon/workspace/xxxxx/mobile_app/build/android/jxxxxx/development/bin/tmp/Rhodes -source 1.6 -target 1.6 -nowarn -encoding latin1 -classpath /Users/jon/sdk/android/sdk/platforms/android-23/android.jar:/Users/jon/workspace/xxxxx/mobile_app/build/android//xxxxx/development/bin/tmp/Rhodes:/Users/jon/sdk/android/sdk/extras/android/support/v4/android-support-v4.jar @/Users/jon/workspace/xxxxx/mobile_app/build/android/xxxxx/development/bin/tmp/RhodesSRC_build.files

      platform/android/Rhodes/src/com/rhomobile/rhodes/event/Event.java:34: package org.apache.http.impl.cookie does not exist

      import org.apache.http.impl.cookie.DateUtils;

                                        ^

      platform/android/Rhodes/src/com/rhomobile/rhodes/mapview/Request.java:35: package org.apache.http does not exist

      import org.apache.http.HttpResponse;

                            ^

      platform/android/Rhodes/src/com/rhomobile/rhodes/mapview/Request.java:36: package org.apache.http.client does not exist

      import org.apache.http.client.HttpClient;

                                   ^

      platform/android/Rhodes/src/com/rhomobile/rhodes/mapview/Request.java:37: package org.apache.http.client.methods does not exist

      import org.apache.http.client.methods.HttpGet;

                                           ^

      platform/android/Rhodes/src/com/rhomobile/rhodes/mapview/Request.java:38: package org.apache.http.impl.client does not exist

      import org.apache.http.impl.client.DefaultHttpClient;

                                        ^

      platform/android/Rhodes/src/com/rhomobile/rhodes/mapview/Request.java:192: cannot find symbol

      symbol  : class HttpGet

      location: class com.rhomobile.rhodes.mapview.Request

        private HttpGet mRequest;

               ^

      platform/android/Rhodes/src/com/rhomobile/rhodes/mapview/MapBitmapManager.java:35: package org.apache.http does not exist

      import org.apache.http.HttpResponse;

                            ^

      platform/android/Rhodes/src/com/rhomobile/rhodes/mapview/MapBitmapManager.java:36: package org.apache.http.client does not exist

      import org.apache.http.client.HttpClient;

                                   ^

      platform/android/Rhodes/src/com/rhomobile/rhodes/mapview/MapBitmapManager.java:37: package org.apache.http.client.methods does not exist

      import org.apache.http.client.methods.HttpGet;

                                           ^

      platform/android/Rhodes/src/com/rhomobile/rhodes/mapview/MapBitmapManager.java:38: package org.apache.http.impl.client does not exist

      import org.apache.http.impl.client.DefaultHttpClient;