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

Execution failed for task ':app:compileDebugJavaWithJavac'. #10

Open
cyx977 opened this issue Jun 21, 2021 · 0 comments
Open

Execution failed for task ':app:compileDebugJavaWithJavac'. #10

cyx977 opened this issue Jun 21, 2021 · 0 comments

Comments

@cyx977
Copy link

cyx977 commented Jun 21, 2021

Launching lib/main.dart on some_emulator in debug mode...
Running Gradle task 'assembleDebug'...
/home/something/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:18: error: package com.example.flutterkhalti does not exist
com.example.flutterkhalti.FlutterKhaltiPlugin.registerWith(shimPluginRegistry.registrarFor("com.example.flutterkhalti.FlutterKhaltiPlugin"));
^
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 27s
Exception: Gradle task assembleDebug failed with exit code 1

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 2.2.0-10.3.pre, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2020.3)
[✓] VS Code (version 1.56.2)
[✓] Connected device (2 available)

• No issues found!

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