本文介绍了Kotlin 1.2.50要求提供baseFeatureInfoDir的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用

classpath 'com.android.tools.build:gradle:3.2.0-alpha18'

classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.50"

我碰到

为属性'annotationProcessorOptionProviders $ kotlin_gradle_plugin.$ 0. $ 0.baseFeatureInfoDir'指定的目录'〜/project/build/intermediates/feature_data_binding_base_feature_info/debug/dataBindingExportFeaturePackageIdsDebug/out'不存在. 为属性"databinding.baseFeatureInfoDir"指定的目录〜/project/build/intermediates/feature_data_binding_base_feature_info/debug/dataBindingExportFeaturePackageIdsDebug/out"不存在.

Directory '~/project/build/intermediates/feature_data_binding_base_feature_info/debug/dataBindingExportFeaturePackageIdsDebug/out' specified for property 'annotationProcessorOptionProviders$kotlin_gradle_plugin.$0.$0.baseFeatureInfoDir' does not exist. Directory '~/project/build/intermediates/feature_data_binding_base_feature_info/debug/dataBindingExportFeaturePackageIdsDebug/out' specified for property 'databinding.baseFeatureInfoDir' does not exist.

使用classpath 'com.android.tools.build:gradle:3.1.3'可以正常工作

推荐答案

此问题将在Android Gradle插件3.2.0-beta02

This issue will be fixed in Android Gradle plugin 3.2.0-beta02

更改ID:I7b7977845e5dee13240f2b0422ccc270513cade9

Change-Id: I7b7977845e5dee13240f2b0422ccc270513cade9

这篇关于Kotlin 1.2.50要求提供baseFeatureInfoDir的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-18 04:56