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

Working well but now throwing up errors #51

Open
TillCity opened this issue Jul 15, 2022 · 1 comment
Open

Working well but now throwing up errors #51

TillCity opened this issue Jul 15, 2022 · 1 comment

Comments

@TillCity
Copy link

This plugin was working perfectly till yesterday. I did a Flutter upgrade this morning and it started up the following error

` Could not resolve all artifacts for configuration ':devicelocale:classpath'.

Could not resolve com.android.tools.build:gradle:7.4.0-alpha06.
Required by:
project :devicelocale
> No matching variant of com.android.tools.build:gradle:7.4.0-alpha06 was found. The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally but:
- Variant 'apiElements' capability com.android.tools.build:gradle:7.4.0-alpha06 declares a library, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares an API of a component compatible with Java 11 and the consumer needed a runtime of a component compatible with Java 8
- Variant 'javadocElements' capability com.android.tools.build:gradle:7.4.0-alpha06 declares a runtime of a component, and its dependencies declared externally:
- Incompatible because this component declares documentation and the consumer needed a library
- Other compatible attributes:
- Doesn't say anything about its target Java version (required compatibility with Java 8)
- Doesn't say anything about its elements (required them packaged as a jar)
- Variant 'runtimeElements' capability com.android.tools.build:gradle:7.4.0-alpha06 declares a runtime of a library, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8
- Variant 'sourcesElements' capability com.android.tools.build:gradle:7.4.0-alpha06 declares a runtime of a component, and its dependencies declared externally:
- Incompatible because this component declares documentation and the consumer needed a library
- Other compatible attributes:
- Doesn't say anything about its target Java version (required compatibility with Java 8)
- Doesn't say anything about its elements (required them packaged as a jar)
Failed to notify project evaluation listener.
Could not get unknown property 'android' for project ':devicelocale' of type org.gradle.api.Project.
Could not get unknown property 'android' for project ':devicelocale' of type org.gradle.api.Project.

  • 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`

I downgraded to Flutter 3.0.4 but the error refuses to go away. What's up?

@ambr89
Copy link

ambr89 commented Feb 6, 2023

Any solution?

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

2 participants