Obsolete
Status Update
Comments
uc...@google.com <uc...@google.com> #2
Thank you for this feedback. The team may reach out for more information on triaging or reproducing this issue.
[Deleted User] <[Deleted User]> #3
We have the same issue with gradle version 3.4.1.
de...@gmail.com <de...@gmail.com> #4
Same problem.
I used modules and features like:
base-app -> activities, databinding, fragments
library-module-1
library-module-2
...
installed
instant-app
The app supports baseFeature for base-app, instant-app, installed calls base-app which has opened "baseFeature".
I used modules and features like:
base-app -> activities, databinding, fragments
library-module-1
library-module-2
...
installed
instant-app
The app supports baseFeature for base-app, instant-app, installed calls base-app which has opened "baseFeature".
[Deleted User] <[Deleted User]> #5
Any updates on this issue?
rm...@presto.com <rm...@presto.com> #6
I was also wondering to get an update regarding this. It looks like some other tickets are open addressing the same issue.
al...@google.com <al...@google.com> #7
This issue was filed against the top-level component, which is not monitored, and has exceeded the age limit for triage to the appropriate sub-component.
If this issue is still relevant, please re-file it against the appropriate sub-component.
If this issue is still relevant, please re-file it against the appropriate sub-component.
Description
The problem is that setting dataBinding.enabledForTests true in a library module fails.
Issuing `./gradlew build` gives an error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':mylibrary:compileDebugJavaWithJavac'.
> java.lang.RuntimeException: Found data binding errors.
Could not write to com.example.mylibrary.databinding.ActivityMyLibraryBinding
file:///.../BindingTest/mylibrary/src/main/res/layout/activity_my_library.xml
If commenting out `enabledForTests true` in the mylibrary module, it compiles. Also, settings `enabledForTests true` in the main `app` module compiles fine.
Android Studio 2.3 Beta 1
Build #AI-162.3573574, built on December 14, 2016
JRE: 1.8.0_92-b14 x86_64
JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
macOS 10.12.1
Gradle version 3.2
Android Plugin Version 2.3.0-beta1
SDK Version: “Android SDK Tools” Rev. 25.2.4
Module Compile Sdk Version API 25: Android 7.1.1
Module Build Tools Version 25.0.2