Manual install
To manually install Chat SDK from a download:
-
Download the latest version of the Chat SDK for Android, and extract files from the package to a local folder,
<unzipped_package>
. -
Copy the following files and subfolders from the
libs
folder of the downloaded SDK to the corresponding directory of your project:File or subfolder Path of your project agorachat_x.y.x.jar
~/app/libs/
/arm64-v8a/libagora-chat-sdk.so
andlibsqlite.so
~/app/src/main/jniLibs/arm64-v8a/
/armeabi-v7a/libagora-chat-sdk.so
andlibsqlite.so
~/app/src/main/jniLibs/armeabi-v7a/
/x86/libagora-chat-sdk.so
andlibsqlite.so
~/app/src/main/jniLibs/x86/
/x86_64/libagora-chat-sdk.so
andlibsqlite.so
~/app/src/main/jniLibs/x86_64/
x.y.z
refers to the version number of the Chat SDK you downloaded. -
In Android Studio, select the
Project Files/app/libs/agorachat_x.y.z.jar
file on the navigation bar, right-click, and then select add as a library.