Firebase Performance Android Java Integration Steps

<ol> <li>Add Internet permission in manifest</li> </ol> <pre> &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot; /&gt;Mani</pre> <p>2. Build gradle add in perf plugin</p> <pre> // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext.kotlin_version = &quot;1.7.10&quot; repositories { jcenter() google() mavenCentral() maven { url &quot;https://jitpack.io&quot; } } dependencies { classpath &#39;com.google.firebase:perf-plugin:1.4.2&#39; classpath &quot;com.android.tools.build:gradle:7.0.4&quot; classpath &#39;com.google.gms:google-services:4.3.14&#39; } } allprojects { repositories { jcenter() google() mavenCentral() maven { url &quot;https://jitpack.io&quot; } } } task clean(type: Delete) { delete rootProject.buildDir }</pre> <p>3. App Build gradle add in perf plugin</p> <pre> plugins { id &#39;com.android.application&#39; id &#39;com.google.gms.google-services&#39; id &#39;com.google.firebase.firebase-perf&#39; } dependencies { implementation &#39;com.google.firebase:firebase-perf&#39; implementation platform(&#39;com.google.firebase:firebase-bom:32.2.0&#39;) }</pre> <p>4. Manifest turn on log enable and set to false for collection deactivated</p> <p><a href="https://medium.com/@hasperong/firebase-performance-android-java-integration-steps-ce7d9e6f53e9">Read More</a></p>