52
Views
8
Comments
[Background Geolocation LT] Get error when trying to publish Android
Question
background-geolocation-lt
Mobile icon
Forge asset by Tye Peck
Application Type
Mobile
Platform Version
11.13.0 (Build 31107)

When I try to build the APK for Android I see this error message in the log:

[2022-02-10T02:56:52.386Z] [ERROR] [Build] Execution failed for task ':app:checkDebugDuplicateClasses'.

[2022-02-10T02:56:52.386Z] [ERROR] [Build] > Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

[2022-02-10T02:56:52.386Z] [ERROR] [Build]    > Could not find com.intentfilter:android-permissions:0.1.8.

[2022-02-10T02:56:52.386Z] [ERROR] [Build]      Searched in the following locations:

[2022-02-10T02:56:52.386Z] [ERROR] [Build]        - https://dl.google.com/dl/android/maven2/com/intentfilter/android-permissions/0.1.8/android-permissions-0.1.8.pom

[2022-02-10T02:56:52.386Z] [ERROR] [Build]        - https://repo.maven.apache.org/maven2/com/intentfilter/android-permissions/0.1.8/android-permissions-0.1.8.pom

[2022-02-10T02:56:52.386Z] [ERROR] [Build]      Required by:

[2022-02-10T02:56:52.386Z] [ERROR] [Build]          project :app

2020-04-17 08-41-30
Tim Timperman

I'm having the same issue. Did you manage to solve it?

UserImage.jpg
Michel Veerman

I'm having the same problems with MABS 9, anyone solved this already?

UserImage.jpg
wilko odijk

same build errors here, guidance on how to resolve these issues is appreciated.

i tried all other background location plugins, all have build errors.

these are the errors i am getting:

[2023-03-15T01:08:03.972Z] [ERROR] [Build] -- v --

[2023-03-15T01:08:03.972Z] [ERROR] [Build] The build phase failed to complete!

[2023-03-15T01:08:03.972Z] [ERROR] [Build] Reason: Couldn't generate your app. If the problem persists, check our documentation for more information.

[2023-03-15T01:08:03.973Z] [ERROR] [Build] Additional information:

[2023-03-15T01:08:03.973Z] [ERROR] [Build] FAILURE: Build completed with 2 failures.

[2023-03-15T01:08:03.973Z] [ERROR] [Build] 1: Task failed with an exception.

[2023-03-15T01:08:03.973Z] [ERROR] [Build] -----------

[2023-03-15T01:08:03.973Z] [ERROR] [Build] * What went wrong:

[2023-03-15T01:08:03.973Z] [ERROR] [Build] Execution failed for task ':app:checkDebugDuplicateClasses'.

[2023-03-15T01:08:03.973Z] [ERROR] [Build] > Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

[2023-03-15T01:08:03.973Z] [ERROR] [Build]    > Could not find com.intentfilter:android-permissions:0.1.8.

[2023-03-15T01:08:03.973Z] [ERROR] [Build]      Searched in the following locations:

[2023-03-15T01:08:03.973Z] [ERROR] [Build]        - https://dl.google.com/dl/android/maven2/com/intentfilter/android-permissions/0.1.8/android-permissions-0.1.8.pom

[2023-03-15T01:08:03.973Z] [ERROR] [Build]        - https://repo.maven.apache.org/maven2/com/intentfilter/android-permissions/0.1.8/android-permissions-0.1.8.pom

[2023-03-15T01:08:03.973Z] [ERROR] [Build]        - file:source/platforms/android/app/libs/com/intentfilter/android-permissions/0.1.8/android-permissions-0.1.8.pom

[2023-03-15T01:08:03.973Z] [ERROR] [Build]      Required by:

[2023-03-15T01:08:03.973Z] [ERROR] [Build]          project :app

[2023-03-15T01:08:03.973Z] [ERROR] [Build] * Try:

[2023-03-15T01:08:03.973Z] [ERROR] [Build] > Run with --stacktrace option to get the stack trace.

[2023-03-15T01:08:03.973Z] [ERROR] [Build] > Run with --info or --debug option to get more log output.

[2023-03-15T01:08:03.973Z] [ERROR] [Build] > Run with --scan to get full insights.

[2023-03-15T01:08:03.973Z] [ERROR] [Build] ==============================================================================

[2023-03-15T01:08:03.973Z] [ERROR] [Build] 2: Task failed with an exception.

[2023-03-15T01:08:03.973Z] [ERROR] [Build] -----------

[2023-03-15T01:08:03.973Z] [ERROR] [Build] * What went wrong:

[2023-03-15T01:08:03.973Z] [ERROR] [Build] java.lang.StackOverflowError (no error message)

[2023-03-15T01:08:03.973Z] [ERROR] [Build] * Try:

[2023-03-15T01:08:03.973Z] [ERROR] [Build] > Run with --stacktrace option to get the stack trace.

[2023-03-15T01:08:03.973Z] [ERROR] [Build] > Run with --info or --debug option to get more log output.

[2023-03-15T01:08:03.973Z] [ERROR] [Build] > Run with --scan to get full insights.

[2023-03-15T01:08:03.973Z] [ERROR] [Build] ==============================================================================

[2023-03-15T01:08:03.973Z] [ERROR] [Build] * Get more help at https://help.gradle.org

[2023-03-15T01:08:03.973Z] [ERROR] [Build] BUILD FAILED in 15s

[2023-03-15T01:08:03.973Z] [ERROR] [Build] Command failed with exit code 1: source/platforms/android/gradlew cdvBuildDebug -b source/platforms/android/build.gradle --parallel

[2023-03-15T01:08:03.973Z] [ERROR] [Build] -- ^ --

[2023-03-15T01:08:03.973Z] [INFO] [Build] Application was not successfully generated!

[2023-03-15T01:08:05.185Z] [INFO] [Build] Execution time: 104308 ms


2020-11-09 10-59-26
Gianluca Bracca

Same issue.

Both with MABS 8.1 and 9.0.

The log ERRORS:

[2023-03-29T16:17:15.900Z] [ERROR] [Build] -- v --

[2023-03-29T16:17:15.900Z] [ERROR] [Build] The build phase failed to complete!

[2023-03-29T16:17:15.901Z] [ERROR] [Build] Reason: Couldn't generate your app. If the problem persists, check our documentation for more information.

[2023-03-29T16:17:15.901Z] [ERROR] [Build] Additional information:

[2023-03-29T16:17:15.901Z] [ERROR] [Build] Note: Some input files use or override a deprecated API.

[2023-03-29T16:17:15.901Z] [ERROR] [Build] Note: Recompile with -Xlint:deprecation for details.

[2023-03-29T16:17:15.901Z] [ERROR] [Build] FAILURE: Build completed with 2 failures.

[2023-03-29T16:17:15.901Z] [ERROR] [Build] 1: Task failed with an exception.

[2023-03-29T16:17:15.901Z] [ERROR] [Build] -----------

[2023-03-29T16:17:15.901Z] [ERROR] [Build] * What went wrong:

[2023-03-29T16:17:15.901Z] [ERROR] [Build] Execution failed for task ':app:checkDebugDuplicateClasses'.

[2023-03-29T16:17:15.901Z] [ERROR] [Build] > Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

[2023-03-29T16:17:15.901Z] [ERROR] [Build]    > Could not find com.intentfilter:android-permissions:0.1.8.

[2023-03-29T16:17:15.901Z] [ERROR] [Build]      Searched in the following locations:

[2023-03-29T16:17:15.901Z] [ERROR] [Build]        - https://dl.google.com/dl/android/maven2/com/intentfilter/android-permissions/0.1.8/android-permissions-0.1.8.pom

[2023-03-29T16:17:15.901Z] [ERROR] [Build]        - https://repo.maven.apache.org/maven2/com/intentfilter/android-permissions/0.1.8/android-permissions-0.1.8.pom

[2023-03-29T16:17:15.901Z] [ERROR] [Build]        - file:source/platforms/android/app/libs/com/intentfilter/android-permissions/0.1.8/android-permissions-0.1.8.pom

[2023-03-29T16:17:15.901Z] [ERROR] [Build]      Required by:

[2023-03-29T16:17:15.901Z] [ERROR] [Build]          project :app

[2023-03-29T16:17:15.901Z] [ERROR] [Build] * Try:

[2023-03-29T16:17:15.901Z] [ERROR] [Build] > Run with --stacktrace option to get the stack trace.

[2023-03-29T16:17:15.901Z] [ERROR] [Build] > Run with --info or --debug option to get more log output.

[2023-03-29T16:17:15.901Z] [ERROR] [Build] > Run with --scan to get full insights.

[2023-03-29T16:17:15.901Z] [ERROR] [Build] ==============================================================================

[2023-03-29T16:17:15.901Z] [ERROR] [Build] 2: Task failed with an exception.

[2023-03-29T16:17:15.901Z] [ERROR] [Build] -----------

[2023-03-29T16:17:15.901Z] [ERROR] [Build] * What went wrong:

[2023-03-29T16:17:15.901Z] [ERROR] [Build] java.lang.StackOverflowError (no error message)

[2023-03-29T16:17:15.901Z] [ERROR] [Build] * Try:

[2023-03-29T16:17:15.901Z] [ERROR] [Build] > Run with --stacktrace option to get the stack trace.

[2023-03-29T16:17:15.901Z] [ERROR] [Build] > Run with --info or --debug option to get more log output.

[2023-03-29T16:17:15.901Z] [ERROR] [Build] > Run with --scan to get full insights.

[2023-03-29T16:17:15.901Z] [ERROR] [Build] ==============================================================================

[2023-03-29T16:17:15.901Z] [ERROR] [Build] * Get more help at https://help.gradle.org

[2023-03-29T16:17:15.901Z] [ERROR] [Build] BUILD FAILED in 21s



2019-03-14 16-24-46
Nelson Freitas

Same issue here, did anyone got a solution for it?

Thanks

UserImage.jpg
Jeff OMalley

We were able to get the plugin running by referencing the official Github repo (instead of the forked version). Update the Extensibility Configuration plugin url to: https://github.com/transistorsoft/cordova-background-geolocation-lt


Like so:

2020-11-09 10-59-26
Gianluca Bracca

It works!

Tnx.

2023-08-28 07-00-10
Paulo Torres
Champion

For I only can generate the App with this, like Jeff OMalley gave me error.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.