tencent cloud

All product documents
Game Multimedia Engine
Integrating SDK
Last updated: 2024-01-18 15:13:51
Integrating SDK
Last updated: 2024-01-18 15:13:51
This document describes how to integrate GME SDK into an Android project so that the Android developers can easily debug and integrate the APIs for Game Multimedia Engine (GME).

Preparing SDK

1. Download the applicable demo and SDK. For more information, see SDK Download Guide.
2. Decompress the obtained SDK resources.
3. The SDK development resources are in the libs folder.
Note:
You can run the SDK on Android 5.0 or later.

Configuration Guide

Method 1

1. Copy the gmesdk.jar file in the libs directory to the libs directory of the Android project.
2. Copy the library files of the corresponding architecture based on the project requirements. For example, if the project requires the armeabi-v7a architecture, you need to copy the library files in the armeabi-v7a directory to the armeabi-v7a directory in the project. If there is no armeabi-v7a directory in the project, create one.

Method 2

Place .so and .jar files in any folder in the project and specify the folder in surceSets.

Configuring the project

Add the code that imports the library to build.gradle under the App directory of the project.
sourceSets {
main {
jniLibs.srcDirs = ['libs']
}
}

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon