Android ActivityOptions class not found in Intellij

view full story

http://stackoverflow.com – I am using Intellij IDE and I'm trying to use the ActivityOptions class from android 4.1, but Intellij keeps giving me the error java: cannot find symbol symbol: class ActivityOptions location: package android.app. I am trying to use this import: import android.app.ActivityOptions; In my AndroidManifest.xml I use Android 4.1: <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="16" /> I have updated Intellij to the latest version(12.0.2). Does anyone know how to fix this without switching to Eclipse? (HowTos)