I had the same problem on a Galaxy Tab A6.
What helped for me when I wasn't able to roll the dice to get the Codex: Tap the settings icon in the lower left corner, then tap "Main menu" there. And in the main menu, tap "Continue". This took me back to the Farmhouse and I was able to roll the dice.