Android Support V4 Jar Download

Posted on by
Android Support V4 Jar Download 9,1/10 9545 votes

Android Support Library V4 » 26.1.0 The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren't a part of the framework APIs. This is a fork of support-v4 library version 23.1.1. Upstream contains the original support-v4 code, master branch includes our changes in implementation (to fix some issues that affected us) and build scripts (to allow project compilation outside of AOSP).

-->

Example steps for Xamarin.Android.Support.v4

Download the desired Xamarin.Android.Support NuGet package (forexample by installing it with the NuGet package manager).

Android Support V4 Jar Download

Use ildasm to check which version of android_m2repository.zipthe NuGet package needs:

Example output:

Download android_m2repository.zip from Google using the URLreturned from ildasm. Alternately, you can check which version ofthe Android Support Repository you currently have installed in theAndroid SDK Manager:

If the version matches the one you need for the NuGet package, thenyou don't have to download anything new. You can instead re-zip theexisting m2repository directory that is located underextrasandroid in the SDK Path (as shown the top of theAndroid SDK Manager window).

Calculate the MD5 hash of the URL returned from ildasm. Format theresulting string to use all uppercase letters and no spaces. Forexample, adjust the $url variable as needed and then run thefollowing 2 lines (based onthe original C# code from Xamarin.Android)in PowerShell:

Example output:

Copy android_m2repository.zip into the%LOCALAPPDATA%Xamarinzips folder. Rename the file touse the MD5 hash from the previous MD5 hash calculating step. For example:

%LOCALAPPDATA%XamarinzipsF16A3455987DBAE5783F058F19F7FCDF.zip

Android Support V4 Jar Download Mp3

(Optional) Unzip the file into %LOCALAPPDATA%XamarinXamarin.Android.Support.v423.4.0.0content(creating a contentm2repository subdirectory). If you skipthis step, then the first build that uses the library will take alittle longer because it will need to complete this step.The version number for the subdirectory (23.4.0.0 in thisexample) is not quite the same as the NuGet package version. Youcan use ildasm to find the correct version number:

Example output:

Download the desired Xamarin.Android.Support NuGet package (forexample by installing it with the NuGet package manager).

Double-click the Xamarin.Android.Support.v4 assembly under theReferences section of the Android project in Visual Studio forMac to open the assembly in the Assembly Browser. Ensure that theLanguage drop-down is set to C# and select the top-levelXamarin.Android.Support.v4 assembly from the Assembly Browsernavigation tree. Locate the SourceUrl property under one of theIncludeAndroidResourcesFrom or JavaLibraryReference attributes:

Download

Download android_m2repository.zip from Google using theSourceUrl returned from ildasm. Alternately, you can check whichversion of the Android Support Repository you currently haveinstalled in the Android SDK Manager:

If the version matches the one you need for the NuGet package, thenyou don't have to download anything new. You can instead re-zip theexisting m2repository directory that is located underextras/android in the SDK Path (as shown the top of theAndroid SDK Manager window).

Calculate the MD5 hash of the URL returned from ildasm. Format theresulting string to use all uppercase letters and no spaces. Forexample, adjust the URL string as needed and then run the followingcommand in a Terminal.app command prompt:

Another option is to use the csharp interpreter to runthe same C# code that Xamarin.Android itself uses.To do that, adjust the url variable as needed and then run thefollowing command in a Terminal.app command prompt:

Example output: /driver-zyrex-sky-232-plus.html.

Copy android_m2repository.zip to the$HOME/.local/share/Xamarin/zips/ folder. Rename the file to use theMD5 hash from the previous MD5 hash calculating step. For example:

$HOME/.local/share/Xamarin/zips/F16A3455987DBAE5783F058F19F7FCDF.zip

Android-support-v4.jar Free Download

(Optional) Unzip the file into:

$HOME/.local/share/Xamarin/Xamarin.Android.Support.v4/23.4.0.0/content/

(creating a content/m2repository subdirectory). If you skipthis step, then the first build that uses the library will take alittle longer because it will need to complete this step.

The version number for the subdirectory (23.4.0.0 in this example)is not quite the same as the NuGet package version. As in theildasm step earlier, you can use the Assembly Browser in VisualStudio for Mac to find the correct version number. Look for theVersion property under one of the IncludeAndroidResourcesFrom orJavaLibraryReference attributes:

Additional references

  • Bug 43245 –Inaccurate 'Download failed. Please download {0} and put it to the{1} directory.' and 'Please install package: '{0}' available in SDKinstaller' error messages related to Xamarin.Android.Support packages

Next Steps

This document discusses the current behavior as of August 2016. Thetechnique described in this document is not part of the stable testingsuite for Xamarin, so it could break in the future.

Android.support.v4.content Jar Download

For further assistance, to contact us, or if this issue remains evenafter utilizing the above information, please seeWhat support options are available forXamarin? forinformation on contact options, suggestions, as well as how to file anew bug if needed.