- Check out what version of compileSdkVersion is set in Your project gradle app file.
- Run app on emulator with the same version.
- Try preview source code of internal method
- Problem solved.
Android Blog is the place where I put code possible to be reused in near future.