Error:Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > Could not create service of type AnnotationProcessorDetector using JavaGradleScopeServices.createAnnotationProcessorDetector().
I'm getting the above error, I tried alot of things (Set jdk path,add support-annotation library etc)to remove this error but nothing changed. I'm using Android Studio 3.0.1 and toolbar inside my app,minSdk 15 ,maxSdk 26.
This is my gradle:
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.0
testImplementation 'junit:junit:4.12'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.