![](/img/trans.png)
[英]Error:Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'
[英]Gradle build successfully but Getting Runtime Error Error:Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'
错误:无法确定任务':app:compileDebugJavaWithJavac'的依赖关系。 >无法使用JavaGradleScopeServices.createAnnotationProcessorDetector()创建AnnotationProcessorDetector类型的服务。
我收到上述错误,我尝试了很多方法(设置jdk路径,添加支持注释库等)以消除此错误,但没有任何更改。 我在我的应用程序minSdk 15和maxSdk 26中使用了Android Studio 3.0.1和工具栏。
这是我的成就:
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'
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.