I keep on getting the same error messages in both android studio and eclipse when I try to run my app on my phone(Samsung Galaxy S7 edge). Instead of posing a long question I will just post the pictures here. Hopefully someone has an answer for me. I asked a couple of friends of mine and one tells me it has to do with the sdk version I have installed on my computer but I have the latest android sdk installed on android studio and the other tells me that I have to change the parent value in my gradle file (see image 1 and 2) to the one I mentioned in the xml file. However I don't see any parent value in the gradle file(image 1) to change to the parent value mentioned in image 2.
Thanks a lot in advance.
Screenshot of the Build.gradle(module: app)
Screenshot of the XML "v24/ Values tab" + error message output