Running my app in release mode causes this exception.
FAILURE: Build failed with an exception.
What went wrong:
Could not determine the dependencies of task ':compileReleaseAidl'.
SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at 'C:\Users\Micky\Documents\flutter.pub-cache\hosted\pub.dartlang.org\facebook_audience_network-0.8.0\android\local.properties'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Running my app in release mode causes this exception.
FAILURE: Build failed with an exception.
What went wrong: Could not determine the dependencies of task ':compileReleaseAidl'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 5s
Exception: The plugin facebook_audience_network could not be built due to the issue above.