What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\2.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\3.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\4.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\5.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\6.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\7.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\8.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\9.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\10.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\11.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\12.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\13.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\14.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\15.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\16.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\17.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\18.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\19.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\20.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\21.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\22.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\23.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\24.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\25.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\26.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\27.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\28.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\29.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\30.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\31.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\32.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\33.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\34.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\35.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\36.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\37.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\38.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\39.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\40.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\41.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\42.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\43.jar, D:\Flutter\Practice\mytestnote\build\app\intermediates\transforms\dexBuilder\debug\44.jar
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: android.support.v4.media.MediaBrowserCompat$CallbackHandler
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.
esys_flutter_share plugin is giving below error when I use it with any 'Permission' plugin. Please assist
dependencies in pubspec.yaml cupertino_icons: ^0.1.2 dynamic_theme: ^1.0.1 sqflite: ^1.1.1 path_provider: ^0.5.0+1 simple_permissions: ^0.1.9 esys_flutter_share: ^1.0.1 intl: ^0.15.8 flutter_html: ^0.9.6
FAILURE: Build failed with an exception.
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 17s
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)