title: Flutter terminal/console full of "greyList API" exceptions while building with flutter
body: <p>I am developing in flutter and my logcat is always full of these logs</p>
  <pre><code>W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;putLong(Ljava/lang/Object;JJ)V (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;getInt(Ljava/lang/Object;J)I (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;putInt(Ljava/lang/Object;JI)V (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;getInt(Ljava/lang/Object;J)I (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;putInt(Ljava/lang/Object;JI)V (greylist,core-platform-api, linking, allowed)
  I/ample.wmbsende( 6845): Background concurrent copying GC freed 126466(5699KB) AllocSpace objects, 6(184KB) LOS objects, 49% free, 7638KB/14MB, paused 476us total 240.336ms
  W/ample.wmbsende( 6845): Reducing the number of considered missed Gc histogram windows from 135 to 100
  W/System  ( 6845): A resource failed to call release. 
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;putLong(Ljava/lang/Object;JJ)V (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;getInt(Ljava/lang/Object;J)I (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;putInt(Ljava/lang/Object;JI)V (greylist,core-platform-api, linking, allowed)
  I/flutter ( 6845): Instance of 'QuerySnapshot'
  D/HostConnection( 6845): HostConnection::get() New Host Connection established 0xf163ba70, tid 7580
  D/EGL_emulation( 6845): eglMakeCurrent: 0xf1420a00: ver 2 0 (tinfo 0xf176df30)
  D/HostConnection( 6845): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2 
  D/EGL_emulation( 6845): eglCreateContext: 0xc1a46600: maj 1 min 0 rcv 1
  D/EGL_emulation( 6845): eglMakeCurrent: 0xc1a46600: ver 1 0 (tinfo 0xbd76b5d0)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;getInt(Ljava/lang/Object;J)I (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;putInt(Ljava/lang/Object;JI)V (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;putInt(Ljava/lang/Object;JI)V (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;putInt(Ljava/lang/Object;JI)V (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;putInt(Ljava/lang/Object;JI)V (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;putLong(Ljava/lang/Object;JJ)V (greylist,core-platform-api, linking, allowed)
  W/ample.wmbsende( 6845): Accessing hidden method Lsun/misc/Unsafe;-&gt;getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed)
  </code></pre>
  <p>It is talking about some &quot;greylist&quot; API, which I gave a read and the most I could make out of the docs was that greylist APIs are security concerns.</p>
  <p>With that said, I do wish to get rid of these exceptions, but I can't afford to change any API.</p>
  <p>The libraries which I suspect to be problematic are:</p>
  <p>flutter_google_maps: ^3.8.0</p>
  <p>Everytime this particular code runs, the logcat is full of junk exceptions.</p>
  <pre class="lang-dart prettyprint-override"><code>  class Map extends StatelessWidget {
    final GlobalKey&lt;GoogleMapStateBase&gt; _key;
  
    Map(this._key);
  
    @override
    Widget build(BuildContext context) {
      return Consumer&lt;ReceiverDataModel&gt;(
        builder: (context, state, child) =&gt; StreamBuilder&lt;QuerySnapshot&gt;(
          stream: Db.getStream(state.code),
          builder: (context, snapshot) {
            print(snapshot.data);
            return GoogleMap(
              key: _key,
              initialPosition: GeoCoord(30.1290, 77.2674),
              initialZoom: 20,
              mapType: MapType.roadmap,
              //markers: markers,
              mobilePreferences: MobileMapPreferences(
                  myLocationEnabled: true, myLocationButtonEnabled: true),
            );
          },
        ),
      );
    }
  }
  </code></pre>
  <p>The logcat makes it very hard to see some important information that I am trying to print. I just wish to suppress these exceptions.</p>
  <p>Thanks for your time.</p>