Concepts / Building Search UI / Installation
Jan. 07, 2019

Installation

Installing InstantSearch Android

InstantSearch Android can be used with any modern package manager, although we recommend Gradle.

Gradle

In your app’s build.gradle, add the following dependency:

1
2
3
4
5
6
7
8
9
dependencies {
	// [...]
	compile 'com.algolia:instantsearch-android:1.+'
	// This will automatically update to the latest v1 release of InstantSearch

	// OR
	compile 'com.algolia:algoliasearch-android:3.+'
	// This will automatically update to the latest v3 release of the client
}

Maven

In your app’s pom.xml, add the following dependency:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<dependency>
  <groupId>com.algolia</groupId>
  <artifactId>instantsearch-android</artifactId>
  <version>[1.0.0,)</version>
  <!-- This will automatically update to the latest v1 release of InstantSearch -->
  <type>pom</type>
</dependency>

<!-- OR -->

<dependency>
  <groupId>com.algolia</groupId>
  <artifactId>algoliasearch-android</artifactId>
  <version>[3.0.0,)</version>
  <!-- This will automatically update to the latest v3 release of the client -->
  <type>pom</type>
</dependency>
}

Did you find this page helpful?