Steps to get SignalR working in Android Studio

Well you can download the jar files from this link

Step 1

Create a libs folder inside your package and simply paste these jar files here.

enter image description here

Step 2

Now add “compile files” inside dependencies of build.gradle

enter image description here

Now after this press “Sync Project with Gradle file” enter image description here

Step 3

Even after syncing and importing jar successfully you still face some import errors etc.
Now try Invalidate cache and restart.After couple of times it will be fine and imports all the classes

enter image description here

Step 4

Now you will see the imports for Platform.loadPlatformComponent(); without any problems

enter image description here
enter image description here

Leave a Comment