Guides / Building Search UI

How to Install InstantSearch Android

Installing InstantSearch Android

InstantSearch Android can be used with any modern package manager, although Gradle is recommended.

Gradle

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

1
2
3
4
dependencies {
	// [...]
	implementation 'com.algolia:instantsearch-android:2.X.X'
}

Replace 2.X.X with the latest release.

Maven

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

1
2
3
4
5
6
7
<dependency>
  <groupId>com.algolia</groupId>
  <artifactId>instantsearch-android</artifactId>
  <version>[2.0.0,)</version>
  <!-- This will automatically update to the latest v1 release of InstantSearch -->
  <type>pom</type>
</dependency>
Did you find this page helpful?