Skip to content

Getting Started

GravitumLabs edited this page Aug 8, 2016 · 17 revisions

Gravitum is high volume and reliable analytics system for mobile applications. We support all major native and mobile platforms by providing dedicated SDKs for each platform. And an online dashboard for analytics monitoring and push campaigns flow setup.

Android Platform Specific Configuration

If you will be releasing your game on Android platform, follow this guide<> to set up the required settings in Google Play Developer Console.

SDK Import

The starting point is to create the brand new Android Studio project. But since you are here, I think, you already have one. So, let's import the SDK's core library into the project. All the following instructions will be illustrated with the screenshots, it will not take much time.

1. Right-click on your application module and choose Open Module Settings

2. Click New Module button (+ button) in Project Structure window to add Gravitum core module into your Android Studio solution

3. Choose Import .JAR or .AAR Package and click the Next button. Gravitum core library is actually the .AAR package, so, this option will be the right choice for you

4. Find the .AAR package using the ellipsis button ... beside the File name field. Select the right file and press Finish button

5. Keep the app's module selected, navigate to the Dependencies tab and add the new module as a dependency by pressing Add (+) button. Select Module dependency in the dependency type drop down menu

6. Select the gravitum.core module and click OK

7. The Gravitum module will be added to your app dependencies. Click OK in the Project Structure dialog window and Gradle sync process will start

8. Now after Gradle sync the gravitum.core module will be listed in your solution

Next Step: GCM Setup

Clone this wiki locally