question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG]: Dependency link dead

See original GitHub issue

ERROR: > Could not GET 'https://dl.bintray.com/larpoux/TauRepo/xyz/canardoux/tau_sound_core/7.7.0+1/tau_sound_core-7.7.0+1.pom'. Received status code 403 from server: Forbidden

  • FULL or LITE flavor ?

  • Important: Result of the command : flutter pub deps | grep flutter_sound

|-- flutter_sound 7.7.0+1
|   |-- flutter_sound_platform_interface 7.7.0+1
|   |-- flutter_sound_web 7.7.0+1
|   |   |-- flutter_sound_platform_interface...

It seems the dependency link is down and this is causing my project to not build.

Severity

  • Cannot build my App
> Could not resolve all artifacts for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve xyz.canardoux:tau_sound_core:7.7.0+1.
     Required by:
         project :app > project :flutter_sound
      > Could not resolve xyz.canardoux:tau_sound_core:7.7.0+1.
         > Could not get resource 'https://dl.bintray.com/larpoux/TauRepo/xyz/canardoux/tau_sound_core/7.7.0+1/tau_sound_core-7.7.0+1.pom'.
            > Could not GET 'https://dl.bintray.com/larpoux/TauRepo/xyz/canardoux/tau_sound_core/7.7.0+1/tau_sound_core-7.7.0+1.pom'. Received status code 403 from server: Forbidden```
--------------------------------------------------------

## Platforms you faced the error 

- iOS ?

- Android ?
On Android, but the issue may replicate on iOS I will check on Mac OSX
- Flutter Web ?

- Emulator ? 
Nexus 
------------------------------------------------

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
Replicate my dependcy tree?
----------------------------------------------

# Logs
```Welcome to Gradle 6.7.1!

Here are the highlights of this release:
 - File system watching is ready for production use
 - Declare the version of Java your build requires
 - Java 15 support

For more details see https://docs.gradle.org/6.7.1/release-notes.html

Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

> Configure project :app
WARNING:: The option setting 'android.enableR8=true' is deprecated.
It will be removed in version 7.0 of the Android Gradle plugin.
You will no longer be able to disable R8
WARNING:: Please remove usages of `jcenter()` Maven repository from your build scripts and migrate your build to other Maven repositories.
This repository is deprecated and it will be shut down in the future.
See http://developer.android.com/r/tools/jcenter-end-of-service for more information.
Currently detected usages in: root project 'android', project ':app', project ':flutter_sound', ...
         *********************************************************
WARNING: This version of flutter_tts will break your Android build if it or its dependencies aren't compatible with AndroidX.
         See https://goo.gl/CP92wY for more information on the problem and how to fix it.
         This warning prints for all Android build failures. The real root cause of the error may be unrelated.
         *********************************************************

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve xyz.canardoux:tau_sound_core:7.7.0+1.
     Required by:
         project :app > project :flutter_sound
      > Could not resolve xyz.canardoux:tau_sound_core:7.7.0+1.
         > Could not get resource 'https://dl.bintray.com/larpoux/TauRepo/xyz/canardoux/tau_sound_core/7.7.0+1/tau_sound_core-7.7.0+1.pom'.
            > Could not GET 'https://dl.bintray.com/larpoux/TauRepo/xyz/canardoux/tau_sound_core/7.7.0+1/tau_sound_core-7.7.0+1.pom'. Received status code 403 from server: Forbidden

* 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 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 12s

pubspec.yaml

description: A new Flutter project.

# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.8.0+1
 
environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  get: ^4.1.4
  flutter_swiper: ^1.1.6
  html: ^0.15.0
  picovoice:
    path: packages/picovoice
  sprintf: ^6.0.0
  flutter_sound: 
    path: packages/flutter_sound
  google_speech:
    path: packages/google_speech
  flutter_tts: 3.1.0
  dio: 
  media_info:
  get_storage: ^1.0.1
  lottie: ^0.7.0+1
  flutter:
    sdk: flutter
 

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.0

dev_dependencies:
  flutter_launcher_icons: "^0.8.0"
  flutter_test:
    sdk: flutter


flutter_icons:
  android: true
  ios: true
  image_path: "assets/icon.png"
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  assets:
    - assets/images/logo.png
    - assets/lottie/loading.json
    - assets/lottie/error.json
    - assets/lottie/empty.json
    - assets/lottie/nointernet.json
    - assets/models/wakeword-ios.ppn
    - assets/models/wakeword-android.ppn
    - assets/models/intent-android.rhn
    - assets/models/intent-ios.rhn
    - assets/elementa-d5d50-bb8f3755618b.json

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
Larpouxcommented, Jun 14, 2021

@rayyan808 ,

The correct version is not 7.8.0 but 7.8.4 In your pubspec.yaml you must put :

   flutter_sound: ^7.8.4

I am sorry because I told you : flutter_sound: 7.8.0, and I was wrong. I hope that you have not lost too much time.

Good luck with your project. @larpoux

0reactions
Larpouxcommented, Jun 14, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Website dead link of BLE dependencies · Issue #406 - GitHub
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity...
Read more >
Bug #1565364 “Dead link in /share/install-dependency-1434FC73.si ...
Since the download is now broken anyway, I update the install script and turned it into a no-op installation. It won't break if...
Read more >
How to deal with dead open-source dependencies?
If the license says you have to include the source then you have to include the source. Try contacting the original authors.
Read more >
Dependency hell - Wikipedia
The dependency issue arises when several packages have dependencies on the same shared packages or libraries, but they depend on different and incompatible ......
Read more >
Transitive Dependencies Account for 95% of Bugs
Nearly all (95%) open source vulnerabilities are found in transitive or indirect dependencies, according to a new report from Endor Labs ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found