carp-dk / carp-dk/flutter-plugins

CARP V3.0.1 Build failed with an exception

Open
#505 0 comments 0 reactions 0 assignees View on GitHub
bugfix
Dominant language
Dart
Stars
608
Forks
735
Avg merge
1m
Merged PRs (30d)
3

Description

### Device / Emulator and OS
Please complete the following information for each phone and/or emulator you're experiencing this bug on:
- NOTE 9
-

### Describe the bug
I just created a new project and added the dependency to pubspec.yaml and get the error
```
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':background_locator:compileDebugKotlin'.
> 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 5s
Exception: Gradle task assembleDebug failed with exit code 1
```
### To Reproduce
Just create a new project add the dependency and copy the example code and run.

### Expected behavior
to build successfully ofcourse!

### Actual behavior
the error as described above

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure in a new project using the dependency in pubspec.yaml and the example code. Capture the complete Kotlin and Gradle output, then inspect the background_locator build entry point to identify the compilation cause; done means the example project builds successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, dart, kotlin
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.