I'm trying to develop an Android application based on Material Design. I want to support the pre-Lollipop devices.
I found the AppCompat
library and tried to follow guides and tutorials but nothing seemed to work. Most of them are focused on Android Studio while I need to use the Eclipse IDE.
I am following guidance from this post on AppCompat, this post on the Android Material Design support library and this Android Toolbar tutorial
Unfortunately, ActionBarActivity
is deprecated. I've tried to "update" my project as shown here.
I don't recive any errors on the Eclipse console, but when I open the app on my Smartphone (Samsung Galaxy Ace 4 with Android 4.4.4) a popup icon appears saying application has unexpectedly quit
, and I receive the InvocationTargetException
error.
The only solution that works is this, but it does not support pre-Lollipop devices (only API 21 and higher).
I finally tried to use a different support library found here, but I don't know how to use the "Ray's lib" library.
All I want to do is something similar to Google apps that use Material Design on pre-Lollipop devices. Is there any way to do this? Can someone help me?
If I can't on Eclipse, is there a way to do that in Android Studio?