Automatic request for access to phone memory on Android

People please help! It remains quite a bit and i can publish the application, the years of work depends on one problem! When you install the application on Android, the application has ceased to ask for permission to access memory, etc. Although previously asked and after receiving all the saves worked, now the game is not saved!!! I changed the API level (Google play requires) from 19 to 26 and the problem arose. If you go in and manually give permission to access the phone memory and once again all working. But it is necessary to make a request for permission during installation. Help!

Solved the problem on their own, it turned out that for Android 6.0 and higher resolution are asked in the process of need. it was necessary to attribute in the code the first time you create a save request for permission. That’s all.