I'm having trouble adding the compatibility package to my android project.
Not really sure what to do about this. Any ideas are appreciated. The error happens at the bottom where it seems like a connection to my localhost is refused.
This is the console output I see:
[2011-11-12 01:44:13 - SDK Manager] Fetching https://dl-ssl.google.com/android/repository/addons_list-1.xml
[2011-11-12 01:44:14 - SDK Manager] Validate XML
[2011-11-12 01:44:14 - SDK Manager] Parse XML
[2011-11-12 01:44:14 - SDK Manager] Fetched Add-ons List successfully
[2011-11-12 01:44:14 - SDK Manager] Fetching URL: https://dl-ssl.google.com/android/repository/repository-5.xml
[2011-11-12 01:44:15 - SDK Manager] Validate XML: https://dl-ssl.google.com/android/repository/repository-5.xml
[2011-11-12 01:44:15 - SDK Manager] Parse XML: https://dl-ssl.google.com/android/repository/repository-5.xml
[2011-11-12 01:44:15 - SDK Manager] Found SDK Platform Android 1.1, API 2, revision 1 (Obsolete)
[2011-11-12 01:44:15 - SDK Manager] Found SDK Platform Android 1.5, API 3, revision 4
[2011-11-12 01:44:15 - SDK Manager] Found SDK Platform Android 1.6, API 4, revision 3
[2011-11-12 01:44:15 - SDK Manager] Found SDK Platform Android 2.0, API 5, revision 1 (Obsolete)
[2011-11-12 01:44:15 - SDK Manager] Found SDK Platform Android 2.0.1, API 6, revision 1 (Obsolete)
[2011-11-12 01:44:15 - SDK Manager] Found SDK Platform Android 2.1, API 7, revision 3
[2011-11-12 01:44:15 - SDK Manager] Found SDK Platform Android 2.2, API 8, revision 3
[2011-11-12 01:44:15 - SDK Manager] Found SDK Platform Android 2.3.1, API 9, revision 2 (Obsolete)
[2011-11-12 01:44:15 - SDK Manager] Found SDK Platform Android 2.3.3, API 10, revision 2
[2011-11-12 01:44:15 - SDK Manager] Found SDK Platform Android 3.0, API 11, revision 2
[2011-11-12 01:44:15 - SDK Manager] Found SDK Platform Android 3.1, API 12, revision 3
[2011-11-12 01:44:15 - SDK Manager] Found SDK Platform Android 3.2, API 13, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found SDK Platform Android 4.0, API 14, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found ARM EABI v7a System Image, Android API 14, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found Samples for SDK API 7, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found Samples for SDK API 8, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found Samples for SDK API 9, revision 1 (Obsolete)
[2011-11-12 01:44:15 - SDK Manager] Found Samples for SDK API 10, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found Samples for SDK API 11, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found Samples for SDK API 12, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found Samples for SDK API 13, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found Samples for SDK API 14, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found Android SDK Platform-tools, revision 9
[2011-11-12 01:44:15 - SDK Manager] Found Android SDK Tools, revision 15
[2011-11-12 01:44:15 - SDK Manager] Found Documentation for Android SDK, API 14, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found Android Support package, revision 4
[2011-11-12 01:44:15 - SDK Manager] Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
[2011-11-12 01:44:15 - SDK Manager] Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
[2011-11-12 01:44:15 - SDK Manager] Parse XML: https://dl-ssl.google.com/android/repository/addon.xml
[2011-11-12 01:44:15 - SDK Manager] Found Google APIs by Google Inc., Android API 3, revision 3
[2011-11-12 01:44:15 - SDK Manager] Found Google APIs by Google Inc., Android API 4, revision 2
[2011-11-12 01:44:15 - SDK Manager] Found Google APIs by Google Inc., Android API 5, revision 1 (Obsolete)
[2011-11-12 01:44:15 - SDK Manager] Found Google APIs by Google Inc., Android API 6, revision 1 (Obsolete)
[2011-11-12 01:44:15 - SDK Manager] Found Google APIs by Google Inc., Android API 7, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found Google APIs by Google Inc., Android API 8, revision 2
[2011-11-12 01:44:15 - SDK Manager] Found Google APIs by Google Inc., Android API 9, revision 2 (Obsolete)
[2011-11-12 01:44:15 - SDK Manager] Found Google APIs by Google Inc., Android API 10, revision 2
[2011-11-12 01:44:15 - SDK Manager] Found Google APIs by Google Inc., Android API 11, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found Google APIs by Google Inc., Android API 12, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found Google APIs by Google Inc., Android API 13, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found Google APIs by Google Inc., Android API 14, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found Google TV Addon by Google Inc., Android API 12, revision 2
[2011-11-12 01:44:15 - SDK Manager] Found Google Market Licensing package, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found Google USB Driver package, revision 4
[2011-11-12 01:44:15 - SDK Manager] Found Google Market Billing package, revision 1
[2011-11-12 01:44:15 - SDK Manager] Found Google Admob Ads Sdk package, revision 4
[2011-11-12 01:44:15 - SDK Manager] Found Google Webdriver package, revision 2
[2011-11-12 01:44:15 - SDK Manager] Fetching URL: http://www.echobykyocera.com/download/echo_repository.xml
[2011-11-12 01:44:15 - SDK Manager] Failed to fetch URL http://www.echobykyocera.com/download/echo_repository.xml/addon.xml, reason: Connection to http://127.0.0.1:8888 refused
[2011-11-12 01:44:15 - SDK Manager] Fetching URL: http://developer.lgmobile.com/sdk/android/repository.xml
[2011-11-12 01:44:15 - SDK Manager] Failed to fetch URL http://developer.lgmobile.com/sdk/android/repository.xml/addon.xml, reason: Connection to http://127.0.0.1:8888 refused
[2011-11-12 01:44:15 - SDK Manager] Fetching URL: http://innovator.samsungmobile.com/android/repository/repository.xml
[2011-11-12 01:44:15 - SDK Manager] Failed to fetch URL http://innovator.samsungmobile.com/android/repository/repository.xml/addon.xml, reason: Connection to http://127.0.0.1:8888 refused
[2011-11-12 01:44:15 - SDK Manager] Fetching URL: http://developer.sonyericsson.com/edk/android/repository.xml
[2011-11-12 01:44:16 - SDK Manager] Failed to fetch URL http://developer.sonyericsson.com/edk/android/repository.xml/addon.xml, reason: Connection to http://127.0.0.1:8888 refused
[2011-11-12 01:44:16 - SDK Manager] Done loading packages.
[2011-11-12 01:44:16 - Android Compatibility JAR not found:] /apps/eclipse64/Eclipse.app/Contents/MacOS/v4/android-support-v4.jar
In Eclipse, you can create a "user library", add the compatibility jar you need (v4 or v13) and add this user library in your build path. Below a short step plan:
Your project should now have the compatibility jar added in build path. Note. Pressing "Android Tools" -> "Add Compatibility Libraries" will still not work, but at least your project now includes the required library and you can work.
Second option is to create a Lib and add the jar in there: http://developer.android.com/sdk/compatibility-library.html (Setting Up a Project to Use a Library)
I was missing this mysterious "extras" folder in the SDK, so I couldn't do Developerx's solution.
The way to get it is to:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With