Getting started
Development#
This guide will provide brief insights for building and running your own provider.
Building a provider#
To build and package your provider, run the following command in your terminal:
./gradlew :TestProvider:makeDeployment#
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:deployWithAdbDebugging#
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-debuggerAttaching 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:
- Check the error logs in Android Studio
- Review the API documentation
- Join our Discord community for developer support
