Android Installation
To integrate the AAR library add these dependencies in your app/build.gradle:
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"
Important
Remember to add Global-e as your project dependency.
Import *aar via Android Studio File-New-New Module...
Import .JAR/.AAR Package
Alternatively, you can connect to the library using the following procedure:
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.
Note
Remember to add Internet permission to the Manifest file, as the library uses the Internet.