Getting started

Development#

This guide will provide brief insights for building and running your own provider.

It is recommended to convert all commands displayed below onto custom configurations provided by Android Studio itself.

Building a provider#

To build and package your provider, run the following command in your terminal:

./gradlew :TestProvider:make

Deployment#

To deploy the provider on an emulator or a device, choose the following command that fits your needs:

If you are developing using the release or pre-release version of the app, run the following command:

./gradlew :TestProvider:deployWithAdb

Debugging#

There might be cases that you'll find yourself wanting to use the built-in debugger of Android Studio. The following steps should guide you how to configure it for your provider.

Using the debugger option#

The command below will deploy and wait for debugger attachment:

./gradlew :TestProvider:deployWithAdb --wait-for-debugger

Attaching the debugger#

Click the "Attach debugger to Android process" button on the top-right corner of the IDE. It looks like a bug that has a blue diagonal arrow.

Lastly, select the Flixclusive process to let IDE attach its debugger to the app.

Getting help#

If you run into issues during development:

  1. Check the error logs in Android Studio
  2. Review the API documentation
  3. Join our Discord community for developer support