title: Android change build target from 4.1 to 3.1
body: <p>im trying to change my project build target from 4.1 to 3.1 in android studio.</p>
  
  <pre><code>    &lt;uses-sdk
      android:minSdkVersion="16"
      android:targetSdkVersion="16" /&gt;
  </code></pre>
  
  <p>to</p>
  
  <pre><code>    &lt;uses-sdk
      android:minSdkVersion="12"
      android:targetSdkVersion="12" /&gt;
  </code></pre>
  
  <p>and in my project structure i change SDKs Build target to Android 3.1.
  When i try and run the project in my AVD setup for 3.1 i get project not compatible with AVD.</p>
  
  <p>The main errors i get in my code is:</p>
  
  <pre><code>    Bundle bundle_animation = ActivityOptions.makeCustomAnimation(
              MainActivity.this, R.anim.animation, R.anim.animation2).toBundle();
      startActivity(startNewGame, bundle_animation);
  </code></pre>
  
  <p>I know makeCustomAnimation wasnt introduced until 4.1...but how can i fix this...can i add classes from 4.1 and add it to 3.1sdk??? or what method was used before ActivityOptions.makeCustomAnimation...any help would be greatly appreciated...</p>
  
  <p>Thanks </p>