title: Android compatibility package Fragment as inner static class
body: <p>I've been using the Android compatibility Package but i encountered the following issue, it seems that whenever i create a Fragment as an inner static class on my application and try to start that activity the it display the following error</p>
  
  <pre><code>android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment org.wr.CreditCardHolderActivity.CreditCardHolderFragment: make sure class name exists, is public, and has an empty constructor that is public
  </code></pre>
  
  <p>And when i separate the fragment and the activity everything work smoothly, anyone know why? and how can i fix it?</p>
  
  <p>Thanks!</p>