nowinandroid icon indicating copy to clipboard operation
nowinandroid copied to clipboard

Unresolved reference: libs

Open BlueSky15171 opened this issue 3 years ago • 6 comments

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.

  • Get more help at https://help.gradle.org

BUILD FAILED in 183ms

BlueSky15171 avatar Nov 23 '22 13:11 BlueSky15171

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

dturner avatar Nov 24 '22 10:11 dturner

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

image image

BlueSky15171 avatar Nov 24 '22 11:11 BlueSky15171

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.

dturner avatar Dec 21 '22 18:12 dturner

same problem

emirmg avatar Feb 21 '23 20:02 emirmg

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).

SimonMarquis avatar Aug 24 '23 18:08 SimonMarquis

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.

sinyotok avatar Apr 21 '24 03:04 sinyotok