I’ve looked for questions about this error here in the community and found this topic. But that topic is about BattleTank project and I had error with “Bulls and Cows”, and any solutions from there did not help me.
I’ve found the problem just intuitively. The reason was that I’ve renamed the directory with the project. And when I restored the initial name the problem had gone.
Hope this will help somebody