Advertisement
gitman3

No matching variant of androidx.navigation:navigation-safe-args-gradle-plugin:2.6.0 was found.

Feb 28th, 2024
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.48 KB | None | 0 0
  1. A problem occurred configuring root project 'AndroidClient'.
  2. > Could not resolve all files for configuration ':classpath'.
  3. > Could not resolve androidx.navigation:navigation-safe-args-gradle-plugin:2.6.0.
  4. Required by:
  5. project : > androidx.navigation.safeargs:androidx.navigation.safeargs.gradle.plugin:2.6.0
  6. > No matching variant of androidx.navigation:navigation-safe-args-gradle-plugin:2.6.0 was found. The consumer was configured to find a library for use during runtime, compatible with Java 11, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.0' but:
  7. - Variant 'apiElements' capability androidx.navigation:navigation-safe-args-gradle-plugin:2.6.0 declares a library, packaged as a jar, and its dependencies declared externally:
  8. - Incompatible because this component declares a component for use during compile-time, compatible with Java 17 and the consumer needed a component for use during runtime, compatible with Java 11
  9. - Other compatible attribute:
  10. - Doesn't say anything about org.gradle.plugin.api-version (required '8.0')
  11. - Variant 'runtimeElements' capability androidx.navigation:navigation-safe-args-gradle-plugin:2.6.0 declares a library for use during runtime, packaged as a jar, and its dependencies declared externally:
  12. - Incompatible because this component declares a component, compatible with Java 17 and the consumer needed a component, compatible with Java 11
  13. - Other compatible attribute:
  14. - Doesn't say anything about org.gradle.plugin.api-version (required '8.0')
  15. - Variant 'sourcesElements' capability androidx.navigation:navigation-safe-args-gradle-plugin:2.6.0 declares a component for use during runtime, and its dependencies declared externally:
  16. - Incompatible because this component declares documentation and the consumer needed a library
  17. - Other compatible attributes:
  18. - Doesn't say anything about its target Java version (required compatibility with Java 11)
  19. - Doesn't say anything about its elements (required them packaged as a jar)
  20. - Doesn't say anything about org.gradle.plugin.api-version (required '8.0')
  21.  
  22. * Try:
  23. > Run with --stacktrace option to get the stack trace.
  24. > Run with --info or --debug option to get more log output.
  25. > Run with --scan to get full insights.
  26.  
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement