Skip to content

[Bug]: Showing "Unresolved reference: build" in build-logic:convention module #1831

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

Open
3 tasks done
jedwardblack opened this issue Feb 22, 2025 · 1 comment
Open
3 tasks done
Labels
bug Something isn't working

Comments

@jedwardblack
Copy link

jedwardblack commented Feb 22, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Is there a StackOverflow question about this issue?

  • I have searched StackOverflow

What happened?

Just as in the previously closed issue, the project builds and runs successfully but Android Studio is unable to resolve references to the "com.android.build" package.

Additionally, the *.gradle.kts files show errors.

System Information

  • Android Studio: Ladybug | 2024.2.1 Patch 2
  • JRE: 21.0.3
  • Operating System: macOS Sequoia 15.3.1
  • Android Gradle Plugin - 8.7.3
  • Gradle: 8.9
  • JDK: 21.0.3

See previously closed ticket here: https://github.com/android/nowinandroid/issues/1092
See issue tracker here: https://issuetracker.google.com/issues/398196185
See attached screenshots. (Screenshots are from my project, but the same result surfaces in the nowinandroid repo)

Image Image

Relevant logcat output

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jedwardblack jedwardblack added the bug Something isn't working label Feb 22, 2025
@jedwardblack
Copy link
Author

jedwardblack commented Feb 22, 2025

I updated to the following versions and am still seeing the same issues:

Android Studio: Ladybug Feature Drop | 2024.2.2 Patch 1
Android Gradle Plugin: 8.8.1
Gradle: 8.10.2
Gradle JDK: JetBrains Runtime 21.0.5

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

1 participant