I have integrated Firebase in android app, followed all the steps as mentioned in docs. Integrated google-services.json file and added required lines in project and app level gradle.
Added analytics library : com.google.firebase:firebase-core:9.2.1
Android studio version :2.1.2
Compiled using 24 sdk.
The app is build without errors and its running in device,but the Firebase Analytics dashboard is empty.
I am getting crash reports but analytics are not displayed
Also added firebase instance in mainactivity.
Please help..thanks
build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion '24.0.0'
defaultConfig {
applicationId "com.example"
minSdkVersion 14
targetSdkVersion 19
versionCode 1068
versionName "1.0.6.8"
}
useLibrary 'org.apache.http.legacy'
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
productFlavors {
}
}
repositories {
maven {
url "https://mint.splunk.com/gradle/"
}
}
dependencies {
compile 'com.google.android.gms:play-services:9.2.1'
compile 'com.google.maps.android:android-maps-utils:0.3.+'
compile 'com.squareup:otto:1.3.6'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.squareup.picasso:picasso:2.4.0'
compile 'com.google.firebase:firebase-core:9.2.0'
compile 'com.google.firebase:firebase-crash:9.2.1'
compile 'com.splunk.mint:mint:4.0.6'
compile 'com.android.support:appcompat-v7:24.0.0'
}
apply plugin: 'com.google.gms.google-services'