I have been trying to use CometChat to build a simple chat app. Im following the steps to set up the CometChat SDK but the implementation keeps failing and I cannot find any solutions. Any suggestions?
Hello @kadur1
Can you please also share the project-level gradle file where you have added the url to the maven repository
Thanks
This looks ok to me…
Have you made any changes to the settings.gradle file as well ?
Can you please share that too
Thanks
Can you please try adding the maven url in the dependencyResolutionManagement
in the settings.gradle file. Somehow, the url is not being used from the project level gradle file. This could be due to changes in the latest gradle version.
Just add
maven { url ‘https://dl.cloudsmith.io/public/cometchat/cometchat-pro-android/maven/’ }
to the dependencyResolutionManagement section. This should hopefully fix the problem. In case you are still facing any issues, please do let us know and we will be happy to dig deeper into this
Thanks
No Problem. Happy to help
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.