title: Flutter Emulator crashes when playing a video with chewie/video player
body: <p>Hello so I've been trying to get videos to play from my api to my flutter app but it keep crashing when the video screen comes up , the whole application and the emulator both crash when the video screen comes up.
  here are some of the errors that i get :</p>
  <pre><code>W/Gralloc4( 4415): allocator 3.x is not supported
  D/CCodec  ( 4415): allocate(c2.android.aac.decoder)
  D/CCodec  ( 4415): allocate(c2.android.aac.decoder)
  I/Codec2Client( 4415): Available Codec2 services: &quot;software&quot;
  Lost connection to device. 
  </code></pre>
  <p>I mostly followed the documentation and I can't seem to figure out what's causing the problem.
  Here i'm gonna attach the flutter code :</p>
  <pre><code>class DetailScreen extends StatefulWidget {
    final SlideItem movie;
    DetailScreen({ Key key, this.movie}) : super(key: key);
    @override
    DetailScreenState createState() =&gt; DetailScreenState();
  }
  class DetailScreenState extends State&lt;DetailScreen&gt; {
  
    VideoPlayerController controller;
    ChewieController chewieController;
  
    @override
    void initState()
    {
      super.initState();
      controller = VideoPlayerController.network(
          &quot;https://mobileticketing.herokuapp.com/&quot;+super.widget.movie.trailer);
      controller.initialize();
      chewieController = ChewieController(
        videoPlayerController: controller,
        aspectRatio: 16/9,
        autoInitialize: true,
        looping: true
  
      );
  
  
  
  
  
  
    }
  
    @override
    void dispose()
    {
      controller.dispose();
      chewieController.dispose();
      super.dispose();
    }
  
    @override
    Widget build(BuildContext context) {
      return Scaffold(
        appBar: AppBar(
          elevation: 0.0,
          title: Text(super.widget.movie.title),
          centerTitle: true,
        ),
        body: Padding(
          padding: const EdgeInsets.all(8.0),
          child: Stack(
            children: &lt;Widget&gt;[
              Chewie(controller: chewieController),
  
            ],
          ),
  
  
  
        ),
  
      );
  
    }
    
  } 
  </code></pre>