Step 1: Update the Maven repository in settings.gradle

In the root directory of your Android project, locate the settings.gradle file (look for build.gradle on older projects). You will need to update the following Maven repository to the dependencyResolutionManagement section of settings.gradle or the global build.gradle

dependencyResolutionManagement {
   repositories {
			  // Old
			  maven { url '<https://jitpack.io>' }
        
        // New
        maven {
            url = uri("<https://androidrepo.internal.inthegame.io/repository/android/>")
        }
   }
 }

Step 2: Upgrade the ITG library version

After updating the Maven repository to your project settings, the next step is to upgrade ITG library version.

Note! Please select the core module and a player-related module that corresponds to your setup (e.g., core and exoplayer, or core and media3).

 dependencies {
   // Old 2.6 library
   implementation 'com.github.Inthegamesdk:itg-android-sdk-latest:2.6.37' 
   
   // New 2.7 library
   // Core logic
   implementation 'io.inthegame.sdk:core:2.7.0.6'
   
   // Please choose the module corresponding to the media player you use
   // ExoPlayer adapter
   implementation 'io.inthegame.sdk:exoplayer:2.7.0'
   // Media3 adapter
   implementation 'io.inthegame.sdk:media3:2.7.0'
   // Bitmovin adapter
   implementation 'io.inthegame.sdk:bitmovin:2.7.0'
   // Kaltura adapter
   implementation 'io.inthegame.sdk:kaltura:2.7.0'
 }

Step 3: Sync Project with Gradle File:

After you have made and saved the changes to your build.gradle file, you should use the "Sync Project with Gradle Files" button on the Android IDE.

Step 4: Verify the integration:

Once all is settled, update the accountId with the provided one. Ensure that there are no compilation errors and that the ITG displays correctly.