I just tried my first flutter app with android studio. When i select an emulator and press run it gives me the following error after a couple of mins. Below is the text copied from RUN tab in andorid studio
> Running "flutter packages get" in flutter_app... 3.6s
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
Running Gradle task 'assembleDebug'...
>FAILURE: Build failed with an exception.
>* What went wrong:
Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDebug'.
> org/apache/commons/codec/binary/Base64
>* 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 13s
Finished with error: Gradle task assembleDebug failed with exit code 1