Concepts
/
Building Search UI
/
Installation
Aug. 20, 2019
Installation
On this page
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:
Copy
1
2
3
4
5
dependencies {
// [...]
implementation 'com.algolia:instantsearch-android:2.0.0'
// This will automatically update to the latest v2 release of InstantSearch
}
Maven
In your app’s pom.xml, add the following dependency:
Copy
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>