Problem with subscribing to a realtime messaging channel

I have an android project that I built with Backendless version 3.X, it was a few years ago, and I’m trying to move it to a 5.x new Backendless app.
I’ve followed the guide on moving from 3.x to 5.x on the documentation, and everything’s working well so far, I have modified almost all snippets of code that have changed, but now I’m having a problem with subscribing to a real-time channel, the following line:
Channel channel = Backendless.Messaging.subscribe("PrivateChat" );;
Produces the following error:
error: incompatible types: String cannot be converted to AsyncCallback<List>

Where Message is a class in the backendless package
I suspect that this error has something to do with Android Studio because before I modify the code from 3.x to 5.x, I was using AsyncCallback<List> as callback parameter, I deleted that old code and replaced it with AsyncCallback, just as the documentation suggests, yet I still have the same error.
I also tried using AsyncCallback, yet the error persists.
I tried cleaning the project and rebuilding many times, yet it doesn’t work, maybe the problem is that some old dependency (from 3.x version) is still in my project and is causing it?
Thanks for this service and the great support team. I appreciate any help.

I have solved it by removing old backendless jar files from the libs folder inside my project.
You can mark this as solved.