Runtime Error with chapter 8 code

I followed along the chapter 8 guidelines and wrote all the code but whenever i run the app i get a runtime error that says: java.lang.NoSuchMethodError: No static method getFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroid/widget/TextView;)Landroid/graphics/Typeface; in class Landroid/support/v4/content/res/ResourcesCompat; or its super classes (declaration of ‘’ appears in /data/app/… Please help

update: i found a solution my ba for not researching well, i do not know how to delete posts so ill leave this here

For anyone searching for a solution:

You need to have the same version fro your buildToolsKit and all the dependencies you’re using

thank you very much. it helped me to read this and follow the link