Deniz
Deniz

Reputation: 12530

Import Android L samples in eclipse. (Material design samples)

I have tried to import the Android L samples(gradle based) in eclipse. Built the project after changing the src file path in configuration. But in manifest it enforce me to set the min sdk version to "L". I am able to run the app in Android L emulator. How can I run/support previous API levels?

Upvotes: 0

Views: 2427

Answers (2)

Alessandro Muzzi
Alessandro Muzzi

Reputation: 848

You can run an application with Material Design on devices that have less than API 21 level, but you have to make it using AppCompat21 instead of the regular material design. Note that even if you use the AppCompat21 the graphic result is the same.

Upvotes: 0

CommonsWare
CommonsWare

Reputation: 1007296

How can I run/support previous API levels?

You don't. Apps build for the "L" Developer Preview will only run on the "L" Developer Preview.

Upvotes: 2

Related Questions