Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed with an exception #12

Open
saelco opened this issue Aug 5, 2020 · 1 comment
Open

Build failed with an exception #12

saelco opened this issue Aug 5, 2020 · 1 comment

Comments

@saelco
Copy link

saelco commented Aug 5, 2020

Launching lib\main.dart on SM P355 in debug mode...
Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':app:preDebugBuild'.

Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
Could not resolve project :video_player_web.
Required by:
project :app > project :ext_video_player
> Unable to find a matching configuration of project :video_player_web: None of the consumable configurations have attributes.

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

@saelco
Copy link
Author

saelco commented Aug 6, 2020

Launching lib\main.dart on SM P355 in debug mode...
Running Gradle task 'assembleDebug'...
E:\Flutter\Myproject\myproject\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:26: error: a type with the same simple name is already defined by the single-type-import of VideoPlayerPlugin
import io.flutter.plugins.videoplayer.VideoPlayerPlugin;
^
1 error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • 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 25s
Exception: Gradle task assembleDebug failed with exit code 1

How to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant