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

Unresolved reference: libs #459

Open
BlueSky15171 opened this issue Nov 23, 2022 · 6 comments
Open

Unresolved reference: libs #459

BlueSky15171 opened this issue Nov 23, 2022 · 6 comments

Comments

@BlueSky15171
Copy link

studio:Flamingo 2022.2.1 Canary8
os:macOS Ventura 13.0
jdk: android studio jbr

Build file '/Users/sky/Desktop/nowinandroid2/build.gradle.kts' line: 29

  • What went wrong:
    Script compilation errors:

    Line 29: alias(libs.plugins.android.application) apply false
    ^ Unresolved reference: libs

    Line 30: alias(libs.plugins.kotlin.jvm) apply false
    ^ Unresolved reference: libs

    Line 31: alias(libs.plugins.kotlin.serialization) apply false
    ^ Unresolved reference: libs

    Line 32: alias(libs.plugins.hilt) apply false
    ^ Unresolved reference: libs

    Line 33: alias(libs.plugins.secrets) apply false
    ^ Unresolved reference: libs

5 errors

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 183ms

@dturner
Copy link
Collaborator

dturner commented Nov 24, 2022

Please could you describe the exact steps you used to start the build process.

@BlueSky15171
Copy link
Author

Please could you describe the exact steps you used to start the build process.

image

image

@dturner
Copy link
Collaborator

dturner commented Dec 21, 2022

Sorry I still don't understand what you're doing. Please could you describe, in words, the exact steps which you're taking to encounter this error, starting with how you're cloning the repository.

@emirmg
Copy link

emirmg commented Feb 21, 2023

same problem

@SimonMarquis
Copy link
Contributor

No feedback for almost a year, I think we can close this and see if it reappears (a lot of updates to Gradle/AGP have been merged since).

@sinyotok
Copy link

i have the same problem with my android studio iguana version.
i create project with android studio iguana version, after done with my project, i reinstall my pc and android studio with same version, then i open my project i created before i goth this error.

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

5 participants