问题描述
我目前正在开发即时应用程序,为此我将我的单片应用程序重新组织为功能模块。
在Android Studio Canary 3中一切正常运行,但在更新到 Android Studio Canary 4 后,我的项目无法生成以下错误消息:
在配置任务':minimoBase:dataBindingExportBuildInfoDebugAndroidTest'时发现问题。
>目录'/Users/nayak.vishal/projectData/minimo_instant_app_project/putica-client-android-
native / minimoBase / build / intermediates / data-binding-info / androidTest / debug'为属性指定的
'xmlOutFolder ' 不存在。
以下过程可解决此问题:
在gradle命令行上执行以下构建命令
$ b gradlew clean
2)gradlew:appModule:assembleDebug
gradlew:instantAppModule:assembleDebug
一旦上述命令行构建成功,通过Android Studio Canary构建4也停止抛出构建错误。
I am currently in the process of developing an Instant app, for which I have restructured my monolithic app into feature modules.Everything was up and running till Android Studio canary 3, but after an update to Android Studio Canary 4 my project fails to build with the following error:
A problem was found with the configuration of task ':minimoBase:dataBindingExportBuildInfoDebugAndroidTest'.
> Directory '/Users/nayak.vishal/projectData/minimo_instant_app_project/putica-client-android-
native/minimoBase/build/intermediates/data-binding-info/androidTest/debug'
specified for property 'xmlOutFolder' does not exist.
The following procedure worked as a workaround for this issue:
Execute the following build commands on the gradle command line
1) gradlew clean
2) gradlew :appModule:assembleDebug
3) gradlew :instantAppModule:assembleDebug
Once the above command line builds are successful, building via Android Studio Canary 4 also stops throwing the build error.
这篇关于用Android Studio 3.0 Canary 4构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!