Android Studio 3.0 Gradle - Build Exception Issue

Very new to Android development and Gradle. Just installed Google’s Android Studio 3.0 and carefully followed the directions (运行应用  |  Android 开发者  |  Android Developers). I’m trying to run the default Hello World program on the in-studio Android emulator, but there’s an error. Here’s what Android Studio is giving me back:

Selected primary task ‘:app:assembleDebug’ from project :app
Creating new cache for annotation-processors, path C:\Users\Trevor’s Macbook\AndroidStudioProjects\MyFirstApp.gradle\4.1\fileContent\annotation-processors.bin, access org.gradle.cache.internal.DefaultCacheAccess@15aea77a

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ‘:app:compileDebugJavaWithJavac’.

Could not create service of type AnnotationProcessorDetector using JavaGradleScopeServices.createAnnotationProcessorDetector().

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 0s

Any suggestions or ideas as to what the issue is? I have a feeling it’s something simple that I’m missing. It’s annoying that I followed the Android Studio site’s directions, yet I’m getting this error. Thanks

I have the same issue, did you manage to solve it?

If you use the BottomNavigationLayout or some other newer components? Don’t use that in AndroidStudio 3.0, I create a new project with empty Activity and compile use compileSdkVersion 26 instand of v27 and it works.