title: Android Studio E/dalvikvm: Could not find class... referenced from method
body: <p>I encountered a problem that seems to have something to do with the libraries in android studio.<br>
  I am having compiling errors like:  </p>
  
  <blockquote>
    <p>Could not find class 'android.os.PersistableBundle referenced from method com.example.jack.test1.MainActivity.access$super', Could not find class 'android.app.SharedElementCallback referenced from method com.example.jack.test1.MainActivity.access$super', Could not find class 'android.app.ActivityManager$TaskDescription.</p>
  </blockquote>
  
  <p>The app still runs normally but when it comes to running a certain button event, it stops working. My friend has the same exact code as I do but in my case it doesn't work. I have tried upgrading to a latest API level and tried different gradle plugin version but the problem persisted. Thanks  </p>
  
  <p>running android studio 2.0<br>
  gradle version 2.10<br>
  min sdk 4.0  </p>