Skip to content

HELP: Execution failed for task ':dash_bubble:compileDebugKotlin' #26

@chegmarco1989

Description

@chegmarco1989

Running flutter run --debug, I get:

PS C:\Users\useru\Downloads\EDITED\flutter_driver> flutter run --debug
Launching lib\main.dart on sdk gphone x86 64 in debug mode...
Checking the license for package Android SDK Platform 30 in C:\Users\useru\AppData\Local\Android\sdk\licenses
License for package Android SDK Platform 30 accepted.
Preparing "Install Android SDK Platform 30 (revision 3)".
"Install Android SDK Platform 30 (revision 3)" ready.
Installing Android SDK Platform 30 in C:\Users\useru\AppData\Local\Android\sdk\platforms\android-30
"Install Android SDK Platform 30 (revision 3)" complete.
"Install Android SDK Platform 30 (revision 3)" finished.
Note: C:\Users\useru\AppData\Local\Pub\Cache\hosted\pub.dev\bubble_head-0.0.4\android\src\main\java\com\dsaved\bubblehead\bubble\BubbleHeadService.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Users\useru\AppData\Local\Pub\Cache\hosted\pub.dev\device_apps-2.2.0\android\src\main\java\fr\g123k\deviceapps\DeviceAppsPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
e: file:///C:/Users/useru/AppData/Local/Pub/Cache/hosted/pub.dev/dash_bubble-2.0.0/android/src/main/kotlin/dev/moaz/dash_bubble/src/BubbleService.kt:65:24 Unresolved reference 'ic_close_bubble'.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':dash_bubble:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more 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 3m 44s
Running Gradle task 'assembleDebug'...                            226,0s
Error: Gradle task assembleDebug failed with exit code 1
PS C:\Users\useru\Downloads\EDITED\flutter_driver>

HOW To fix that error ???

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions