I am new in android development and I have an android project in android studio that use firebase and I am following the documentation of admin sdk "Add the Firebase Admin SDK to Your Server" to control the roles of users in my android application, but really I don't understand the documentation, my question is where i can write or edit the firebase admin sdk code (that illustrated below) in my android project ?
here is the snippet code from the tutorial
FirebaseOptions options = new FirebaseOptions.Builder()
.setCredentials(GoogleCredentials.getApplicationDefault())
.setDatabaseUrl("https://<DATABASE_NAME>.firebaseio.com/")
.build();
FirebaseApp.initializeApp(options);