After installing the Android L Developer Preview SDK earlier today I wanted to make my app compatible with both Android L and older versions such as Jelly Bean. My app uses
In developer documentation says (http://developer.android.com/preview/setup-sdk.html):
On the development environment, open the build.gradle file for your module and make sure that:
- compileSdkVersion is set to 'android-L'
- minSdkVersion is set to 'L'
- targetSdkVersion is set to 'L'
It seems that can't be backward compatible (right now).