Find file History
Latest commit 1746564 Feb 14, 2017 @pjcollins pjcollins committed on GitHub Mass update to Xamarin.Android.Support.* 25.1.1 (#177)
* Update to Support.* 25.1.1

* Finish updating to Support.* 25.1.1, fix error conditions

* [WatchFace] Update to support 25.1.1
Failed to load latest commit information.


How to build the entire package from source


- Android SDK.
  - Environment variable ANDROID_HOME=/path/to/the/sdk
  - Environment variable PATH must contain $ANDROID_HOME/tools
- Oracle JDK 1.6. To generate supported format of JavaDoc you cannot use 1.7.
- Gradle (verified build with 1.6).
  - Maven build task depends on its existence in your PATH.
- Apache Ant to build the library project zip.
- Apache Maven 3.0 to build the library in its own manner and then Javadoc.

Build steps

Download ActionBarSherlock v4.4.0 from github:

Extract it under this directory.

Go to JakeWhatron-ActonBarSherlock-whatever directory.

Edit pom.xml and replace <version>3.5.3</version> with

Run: mvn verify javadoc:aggregate-jar

Go to actionbarsherlock dir.

Run the following commands:

	android update project -p .
	ant debug
	zip -r bin/classes.jar bin/AndroidManifest.xml res 

Copy to ../../ActionBarSherlock/Jars
(Note that "../.." is *this* directory)

Edit ActionBarSherlock/ActionBarSherlock.csproj and look for <JavaDocPath>
and ensure that the path specicifed there exists and points to API reference.
It might give different path (especially JakeWharton-whatever hash part).

(The API Reference is generated by Maven, and it is important to provide
parameter names).