QuickBlox / quickblox-android-sdk

QuickBlox Android SDK includes code snippets with main use cases and framework JAR library.
BSD 3-Clause "New" or "Revised" License
417 stars 697 forks source link

Could not download chat-message-adapter-2.0.aar #819

Closed yogeshkaharmis closed 8 months ago

yogeshkaharmis commented 9 months ago

hello guys my project work find before some day but today I open and run the project I got below error

Could not download chat-message-adapter-2.0.aar

searching many but I am not find any solution. I am using below SDK

implementation 'com.quickblox:quickblox-android-sdk-videochat-webrtc:3.8.1' implementation 'com.quickblox:quickblox-android-sdk-chat:3.9.11' implementation "com.quickblox:quickblox-android-sdk-content:3.9.11" implementation "com.quickblox:chat-message-adapter:2.0" implementation "com.quickblox:quickblox-android-sdk-messages:3.9.11"

Please help me. Thanks in advance

kirillTolmachev commented 9 months ago

Hello @yogeshkaharmis Unfortunately, the message adapter is a very old project and it was updated more than 6 years ago. We strongly don't recommend to use it. The chat-message-adapter-2.0.aar is still available. You can check it by the link. https://github.com/QuickBlox/quickblox-android-sdk-releases/blob/3.9.11/com/quickblox/chat-message-adapter/2.0/chat-message-adapter-2.0.aar Maybe the error message contains some other details.

yogeshkaharmis commented 9 months ago

hello @kirillTolmachev I am implement chat SDK when I am add SDK in project, its taken too much time then time out error coming. Please give me proper documentation for impalement chat SDK in project.
I am using official documentation https://docs.quickblox.com/docs/android-quick-start

kirillTolmachev commented 9 months ago

@yogeshkaharmis Yes, you are using the correct documentation link for implementing Android SDK. In the link, we have an example with a version of SDK 4.1.1 but in your project are different versions like 3.8.1 and 3.9.11 and all these versions are old. If you want to use just chat SDK (without call functional) then basically you need to add only 3 dependencies (for chat, for push notifications, and files):

implementation "com.quickblox:quickblox-android-sdk-messages:4.1.1" // push notification functional
implementation "com.quickblox:quickblox-android-sdk-chat:4.1.1" // chat functional
implementation "com.quickblox:quickblox-android-sdk-content:4.1.1" // upload/download files

Instead of the chat adapter you can use our QuickBlox UI Kit with already implemented basic functions. You can find it by link https://docs.quickblox.com/docs/android-uikit-overview

yogeshkaharmis commented 9 months ago

@kirillTolmachev I am using documentation but SDK is not connect to project please give me sample project for chat SDK because in project chat SDK is not download and time out error showing. I am download below sample and run in android studio but is not build and showing time out error. https://github.com/QuickBlox/quickblox-android-sdk/tree/master

kirillTolmachev commented 9 months ago

@yogeshkaharmis I have checked the chat samples and they build, compile, and work without problem. Just cloned the clean sample projects (Chat Java, Chat Kotlin) from the master branch, input the credentials, and run app.

Sample Chat Java -> https://github.com/QuickBlox/quickblox-android-sdk/tree/master/sample-chat-java Sample Chat Kotlin -> https://github.com/QuickBlox/quickblox-android-sdk/tree/master/sample-chat-kotlin

Android Studio version: Giraffe 2022.3.1 Patch 4 java version: "11.0.10" 2021-01-19 LTS

To understand where the problem we need to collect more information.

  1. Android Studio version
  2. Java version
  3. Do you use the latest code from the master branch?
  4. What type of samples do you try to run (Chat Kotlin, Chat Java)?