when you compile ur code, IDE console will show the message like below:

this version of the android support plugin for intellij idea (or android studio) cannot open this project, please retry with version 4.1 or newer.

the solution is : upgrade your android studio(IDE) to new version which >= version 4.1

good luck!