Adapting project using and others libraries



I'm not sure if someone asked this before, but I have an android project using couple of libraries like :

compile ''

And bunch of others requiring the android compileSdkVersion to be at least version 22.

This was fine until today, I need to have this app to the Motorola TC55,
I've been playing with the sample projects a bit and I can see that we need to compile with either:
compileSdkVersion 'Symbol Technologies, Inc.:EMDK 3.1 (API 19):19'
compileSdkVersion 'Symbol Technologies, Inc.:EMDK 3.1 (API 16):16'

Here is my issue, on every library that required any above sdk version It triggers errors like the following one:
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Dialog.Alert'.

Did anyone faced that issue already ? and by any chance fixed it ?