title: adView.loadAd() is crashing my entire program
body: <p>Im trying to integrate admob ads into my app and I've been trying to follow the tutorials on Google's APIs and their code is causing my entire app to crash.</p>
  
  <p>I want to think it's because I'm testing on my phone and I havent included <code>adRequest.addTestDevice("TEST_DEVICE_ID");</code> because to obtain your device id you first need to request an ad, and I am failing exactly where I am requesting an ad.</p>
  
  <p>This is what I have in my main.java taken line for line from androids api tutorials. Log cat says it's crashing at <code>adView.loadAd(adRequest);</code></p>
  
  <pre><code> // Look up the AdView as a resource and load a request.
      AdView adView = (AdView)this.findViewById(R.id.adView);
      AdRequest adRequest = new AdRequest.Builder().build();
      adView.loadAd(adRequest);
  </code></pre>
  
  <p>Here's the XML</p>
  
  <pre><code> &lt;com.google.android.gms.ads.AdView
          android:id="@+id/adView"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          ads:adSize="BANNER"
          ads:adUnitId="adUnitId"
          /&gt;
  </code></pre>
  
  <p>and finally here is what log cat has to say: <a href="https://imgur.com/UfB45YF" rel="nofollow noreferrer">http://imgur.com/UfB45YF</a></p>
  
  <p>referenced api: <a href="https://developers.google.com/mobile-ads-sdk/docs/admob/fundamentals#play" rel="nofollow noreferrer">https://developers.google.com/mobile-ads-sdk/docs/admob/fundamentals#play</a></p>
  
  <p>Do you think it's crashing because I don't have my test device ID included? Or is there something else happening?</p>