I orient Android 19 (because this is what my phone works). I want to add a notification using buttons; seems like the right approach is to use appcompat-v7.app.NotificationCompat.
However, when I add appcompat-v7 from version 22.2 of the Android support repository (via the build.gradle dependency), it includes the file app / build / intermediates / exploded-aar / com.android.support / appcompat-v7 / 22.2.0 /res/values-v21/values-v21.xml, which does not compile because it assumes the target is 21 +.
I tried to delete this file, but it is being restored.
There seems to be no way to exclude the file from the assembly.
So, I need to get an older version of the support library or repository, which does not include 21 files.
I assume that I can import all sources directly (and not use v21 stuff), and not through dependency? I donβt know where to start. I can use the SDK manager to get older versions of the SDK, but it only offers the latest support library.
source share