In my case updating Android studio to the latest version resolved the issue. Thinking it has something to do with the IDE itself not having proper support for recent Android platforms.