OpenFlutter / flutter_share_me

Flutter Plugin for sharing contents to social media. You can use it share to Facebook , WhatsApp , Twitter And System Share UI. Support Url and Text.
https://github.com/lizhuoyuan
Apache License 2.0
151 stars 146 forks source link

Error while generating the main dex list #6

Closed rohitranjan1991 closed 5 years ago

rohitranjan1991 commented 5 years ago

Launching lib/main.dart on SM G965F in debug mode... Initializing gradle... Resolving dependencies... Running Gradle task 'assembleDebug'... Note: /Users/rranjan/work/iS/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_share_me-0.2.1/android/src/main/java/zhuoyuan/li/fluttershareme/FlutterShareMePlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. warning: unknown enum constant ThreadMode.MAIN reason: class file for org.greenrobot.eventbus.ThreadMode not found 1 warning

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:transformClassesWithMultidexlistForDebug'. com.android.build.api.transform.TransformException: Error while generating the main dex list.

  • 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 26s Finished with error: Gradle task assembleDebug failed with exit code 1

This is the error while doing a Android build.