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

Task :xxx:extractDeepLinksDebug FAILED #426

Open
GuillaumeUnice opened this issue Jul 31, 2024 · 1 comment
Open

Task :xxx:extractDeepLinksDebug FAILED #426

GuillaumeUnice opened this issue Jul 31, 2024 · 1 comment

Comments

@GuillaumeUnice
Copy link

Describe the issue
when I add an embed whatever the package (let's take in my case embed 'com.capacitorjs:text-zoom:5.0.6')
I obtain the following error:

A problem was found with the configuration of task ':xxx:extractDeepLinksDebug' (type 'ExtractDeepLinksTask').
  - Gradle detected a problem with the following location: '/Users/xxx/AndroidStudioProjects/MyLib3/xxx/build/intermediates/exploded-aar/com.capacitorjs/text-zoom/5.0.6/debug/res/navigation'.

* 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.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 15s
191 actionable tasks: 24 executed, 167 up-to-date

I try multiple things but I'm really stuck right now if you need the content of any files I can provide it.

Build Environment

  • Operating System: MacOS
  • Gradle Plugin Version: 8.5.0
  • Gradle Version: 8.7
  • Fat-aar Version: 1.4.1
@kalenty
Copy link

kalenty commented Oct 18, 2024

Triggered a scene similar to yours. Here's my solution, works for me

afterEvaluate {
    tasks.named('extractDeepLinksDebug') {
        dependsOn 'explodeXXXXDebug'
    }
}

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

2 participants