- implementation “com.squareup.retrofit2:retrofit:2.9.0”
- implementation “com.squareup.retrofit2:converter-gson:2.9.0”
- implementation “org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3”
- implementation “org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.3”
- Change the project’s display type from Android to Project.
- Copy the AAR file to the libs directory of the app module.
- Open the project structure (File-Project Structure … or keyboard shortcut Ctrl + Alt + Shift + S)
- Go to Dependencies.
- Click + (Add Dependency)
- Select the JAR / AAR Dependency item.
- Add the path to the library file (libs/your_file_name.aar) in the first step. Leave the second step unchanged (implementation by default).
- Click OK.
- Apply changes.
- Make a Rebuild project.
Remember to add Internet permission to the Manifest file, as the library uses the Internet.

