I\'m trying to make my app ready for Android 6 and now I\'m stuck to the point where you need to request and check permissions.
I tried the following from the docs:
Oh my godness - what a stupid mistake.
AS imported the supportlib as a jar and this jar was from like 2014. I just replaced the jarimport with the real dependency and know it is working.
Thanks for your help guys!