Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated class list does not exist error from data binding task #56

Closed
WonderCsabo opened this issue Mar 28, 2018 · 7 comments
Closed
Assignees

Comments

@WonderCsabo
Copy link

If i have the plugin enabled, i get this error:

Execution failed for task ':features:onboarding:transformClassesAndResourcesWithSyncLibJarsForDebug'.
> failure, see logs for details.
  Generated class list does not exist <redacted>/modules/features/onboarding/build/intermediates/data-binding/debug/class-list/_generated.txt

The module in question has both data binding and Kotlin kapt enabled.
If i do not apply this plugin on the module, the build succeeds.

Gradle: 4.6
Android Gradle Plugin: 3.1.0
Cache fix plugin: 0.4.0
Kotlin plugin: 1.2.31

@WonderCsabo
Copy link
Author

I have two flavors in the app module. If i execute the assemble task for one variant (assembleMockDebug), the project builds even with the plugin. But if i execute assembleDebug, the build fails with the plugin applied.

@wolfs wolfs assigned wolfs and lptr and unassigned wolfs Apr 3, 2018
@lptr
Copy link
Member

lptr commented Apr 4, 2018

This sounds like an issue with the Android plugin. Please report it to https://issuetracker.google.com/issues/new?component=192709&template=842921

@lptr lptr closed this as completed Apr 4, 2018
@WonderCsabo
Copy link
Author

How can i report it? The issue only persists if i apply this plugin.

@lptr
Copy link
Member

lptr commented Apr 4, 2018

That is strange. Can you please provide me with a build scan? (--scan)

@WonderCsabo
Copy link
Author

I shared the build scan privately.

@notsatyarth
Copy link

Was this resolved? I seem to be facing a similar issue

@lptr
Copy link
Member

lptr commented May 24, 2018

FTR: We are working with the Android team to fix data binding to work with caching. If that works out the cache-fix plugin won't be needed anymore. We don't plan to fix more issues until then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants