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

While adding SDK com.google.cloud:google-cloud-aiplatform:3.56.0 not able to re build the project #11372

Open
nazminKhan opened this issue Jan 1, 2025 · 1 comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@nazminKhan
Copy link

Facing issue of duplicate class while adding SDK in gradle
My gradle is up to date with all the SDKs,but not able to accept 'com.google.cloud:google-cloud-aiplatform:3.56.0'
Please get me out from this issue
GradleFailed

Thanks!

@mpeddada1 mpeddada1 added priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Jan 3, 2025
@suztomo
Copy link
Member

suztomo commented Jan 9, 2025

Are you using Android builds? If so, Android dependencies have duplicate classes with the ones used in Cloud SDK for Java. Your Android build rule enforces unique class in the class path. I'm afraid that Android is not part of the supported platform of this library. We recommend users to use Firebase. How about using Firebase and use dialogflow via Cloud Functions?

https://github.com/googleapis/google-cloud-java?tab=readme-ov-file#supported-platforms

Thus, the following are not supported:

  • Android
    • Consider Firebase, which includes many of these APIs.
      It is possible to use these libraries in many cases, although it is unsupported. You can find examples, such as this one, in this example repository but consider the risks carefully before using these libraries in an application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

3 participants