title: Fragments in GingerBread
body: <p>I am writing an app for android which uses Fragments, but when I run the application on a GingerBread phone, I get an error in this line:</p>
  
  <pre><code>inflater.inflate(R.layout.fragment_location, container, false);
  </code></pre>
  
  <p>which says</p>
  
  <pre><code>android.view.InflateException: Binary XML file line #8: Error inflating class &lt;unknown&gt;
  </code></pre>
  
  <p>everything is supposedly good, the MainActivity extends FragmentActivity, The ViewPager, the FragmentPagerAdapter and the Fragment are all from the support package. so what am I doing wrong?</p>