Sometimes, you might need to override libraries in android manifest to keep the functions of your app stable, but when you have more than one library to override, you will need to override multiple libraries with a single line of uses-sdk. because android manifest will let you use <uses-sdk> just once.
What you have to do now is mix the libraries into a single line of uses-sdk function. here is an example code to do that, note the comma after each library
<uses-sdk tools:overrideLibrary="android.library.number.one, android.library.number.two"/>
This is the code, write this code under permissions after adding your libraries in the manifest and you should be good to go.