Basically what we have to do is , put your .so files inside a folder named lib (Note: it is not libs and this is not a mistake). It should be in the same structure, it should be in the APK file.
Project:
|--lib:
|--|--armeabi:
|--|--|--.so files.
1) So I've made a lib folder and inside it an armeabi folder where I've inserted all the needed .so files.
2) I then zipped the folder into a .zip (the structure inside the zip file is now lib/armeabi/*.so).
3) Then, I renamed the .zip file into armeabi.jar.
4) And, added the line compile fileTree(dir: 'libs', include: '*.jar') into dependencies {} in the gradle's build file.