You must declare permissions at runtime . However, androidStudio stupidly does not know about the existence of the class ContextCompat. What needs to be done to see him?
- 2This class is included in the support v4 support library (or AppCompat, which in turn includes support v4), as far as can be judged. This library must be connected to the project. - pavlofff
- @pavlofff through what to do in android studio? - RodGers
- @RodGers, ru.stackoverflow.com/a/425671/11515 - woesss
|