title: How to add firebase app check in android app?
body: <p>I have <a href="https://i.stack.imgur.com/qJReF.png" rel="nofollow noreferrer">registered</a> app check-in firebase for a flutter app. But I couldn't find mainactivity file in my android folder</p>
  <p><strong>path/to-java:</strong></p>
  <pre><code>---- android
    ---- app
     --- src
      --- main
        --- java
         -- io
            --- flutter 
              --- plugins
                   --- GeneratedPluginRegistrant.java
  </code></pre>
  <p><a href="https://i.stack.imgur.com/MmJZS.png" rel="nofollow noreferrer">GeneratedPluginRegistrant.java</a></p>
  <p><strong>path/to-kotlin:</strong></p>
  <pre><code>---- android
    ---- app
     --- src
      --- main
        --- kotlin
          --- com
            -- company
             ---- app-name
               ---- MainActivity.kt
  </code></pre>
  <p><strong>MainActivity.kt</strong></p>
  <pre><code>package com.company.app_name
  
  import io.flutter.embedding.android.FlutterActivity
  
  class MainActivity: FlutterActivity() {
  }
  </code></pre>
  <p>I have referred <a href="https://firebase.flutter.dev/docs/app-check/usage" rel="nofollow noreferrer">docs</a> but i don't know where to add the files exactly can someone help with that? Thank you</p>