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

File/directory does not exist: build/intermediates/runtime_library_classes_jar/debug/classes.jar #100

Closed
marko-twineahlth opened this issue Oct 31, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@marko-twineahlth
Copy link

Current behavior

Command ./gradlew analyzeBundle fails on 99% because: File/directory does not exist: build/intermediates/runtime_library_classes_jar/debug/classes.jar

This is happening with local modules.

In app build.gradle, I am using implementation project(':')

Why gradle doesn't create runtime_library_classes_jar in this case? Thanks!

Expected behavior

The command shouldn't fail with an error

Steps to reproduce

Run command ./gradlew analyzeBundle

Versions

'com.android.tools.build:gradle:7.2.1'
'com.spotify.ruler:ruler-gradle-plugin:1.4.0'

Anything else?

No response

@marko-twineahlth marko-twineahlth added the bug Something isn't working label Oct 31, 2022
@simonschiller
Copy link
Collaborator

Thanks for reporting! Are you running analyzeReleaseBundle or analyzeDebugBundle? Or does your have no variants? Could you see what happens if you just run the respective bundle (i.e. bundleDebug or bundleRelease) task - does the issue still appear?

@marko-twineahlth
Copy link
Author

Thanks for the quick response, @simonschiller!

I was running analyzeDebugBundle, but now I have tried analyzeReleaseBundle, and it worked!

Probably we can close this one? Thanks for the help.

@simonschiller
Copy link
Collaborator

Great to hear it works for you now, closing this then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants