Updated on 2026-01-16 GMT+08:00

Installing the SDK

  1. Decompress the development package to obtain all JAR files under the libs folder.
  2. Open Android Studio. Click Start a new Android Studio project to go to the page for creating a project.
  3. Fill in the configuration items, such as Application name and Project location, and finish creating the project as prompted.
  4. Find the created project in the file system and copy the JAR files obtained from step 2 to the app/libs subfolder of the project.
  5. On Android Studio, go to the app/libs subfolder of the new project and right-click each JAR file in this folder and choose Add As Library to add it as a library file of the project.
  6. Open the AndroidManifest.xml file and add the following code segments to configure the SDK-required permissions:

    <uses-permission android:name="android.permission.INTERNET" /> 
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> 
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.GET_TOP_ACTIVITY_INFO" />

  7. If any permission-related errors are reported during the upload, for instance, "open failed: EPERM (Operation not permitted)", you need to apply for the permission "android.permission.MANAGE_EXTERNAL_STORAGE".
  8. Compile the project and finish the OBS SDK integration.