I’m trying to build an Android app with a Flutter module. Unfortunately, Bitrise is unable to find the Flutter SDK and throws the following error:
Ensure required Android SDK components Retrying... Failed to ensure android components, error: output: FAILURE: Build failed with an exception. * Where: Build file '/bitrise/src/my_flutter/.android/Flutter/build.gradle' line: 13 * What went wrong: A problem occurred evaluating project ':flutter'. > Flutter SDK not found. Define location with flutter.sdk in the local.properties file. * Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Exception is: org.gradle.api.GradleScriptException: A problem occurred evaluating project ':flutter'.
I’ve searched for Bitrise Flutter support and see that there is a Flutter plugin. How should I configure the Flutter plugin so it installs the Flutter SDK and Bitrise successfully builds my app?
Thanks for the help!