background_locator icon indicating copy to clipboard operation
background_locator copied to clipboard

Execution failed for task ':background_locator:compileDebugKotlin'.

Open AbdelrahmanAshraf98 opened this issue 2 years ago • 3 comments

i face this problem while running app after adding package dependency and permissions in manifest file

Launching lib\main.dart on Redmi Note 8 Pro in debug mode... Running Gradle task 'assembleDebug'... e: C:\Users\Lenovo\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\background_locator-1.6.12\android\src\main\kotlin\rekab\app\background_locator\provider\LocationParserUtil.kt: (31, 60): Expecting an argument

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

AbdelrahmanAshraf98 avatar Apr 27 '22 10:04 AbdelrahmanAshraf98

Facing same error, any solution?

tjbaba avatar Jul 01 '22 13:07 tjbaba

any solution?

abedputra avatar Jul 03 '22 02:07 abedputra

Hi, you could try my fork, it fixed a lot of bugs => https://github.com/Yukams/background_locator_fixed

Yukams avatar Jul 03 '22 11:07 Yukams