How do I enable debug logs in the Bitmovin Android Player SDK?

To enable debug logs in the Bitmovin Player Android SDK, add the following line before creating any instances of the Player, Source or PlayerView.

import com.bitmovin.player.api.DebugConfig
...
DebugConfig.isLoggingEnabled = true
import com.bitmovin.player.api.DebugConfig;
...
DebugConfig.setLoggingEnabled(true); 

This will enable exhaustive debug logging via the default android.util.Log API.

A good place for setting this configuration is in your application onCreate:

class App : Application() {
    override fun onCreate() {
        DebugConfig.isLoggingEnabled = true  // Enable verbose debug logging in case of issues
        super.onCreate()
    }
}
💡

Note

  • We recommend setting this flag only when troubleshooting something or when reporting a bug to Bitmovin via the Bitmovin Dashboard.
  • Minimum Player version v3.93.0 - In order to use this feature, you must use at least player version v3.93.0 or higher.