Note: This seems to be an issue with the Android plugin. See comments for associated issues.
I get the following gradle error when building the project:
From https://androidstudio.googleblog.com/2017/08/android-studio-30-beta-1.html, this is a known issue: If you have an existing Android Studio project that's using an alpha version of Android plugin 3.0.0 (such as 3.0.0-alpha9), you may get the following error when you migrate to Android plugin 3.0.0-beta1 and sync your project: Gradle project refresh failed. You could solve it by doing the following steps:
Selecting Build > Clean Project from the menu bar—you need to perform this action only once for each project. You can then sync your project files with Gradle by clicking Sync Project from the toolbar.
See the release note for more details. https://androidstudio.googleblog.com/2017/08/android-studio-30-beta-1.html
Happy coding!