flutter_sound: [BUG] Can't build app with versions above 6.1.2 (excluding 6.1.2)
Flutter Sound Version :
Full, version 6.3.0+4 (happens on any version after 6.1.2)
- Result of the command “flutter pub deps | grep flutter_sound”
|-- flutter_sound 6.3.0+4
| |-- flutter_sound_platform_interface 6.3.0+4
Severity
- Cannot build my App
Platforms you faced the error
- Android Emulator and Android device
Logs
(This is very important. Most of the time we cannot do anything if we do not have information on your bug)
Launching lib\main.dart on Android SDK built for x86 in debug mode...
lib\main.dart:1
[Fatal Error] ucrop-2.2.6.pom:3:3: The markup in the document preceding the root element must be well-formed.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
> Could not resolve com.google.android.gms:play-services-location:16.+.
Required by:
project :app > project :location
> Failed to list versions for com.google.android.gms:play-services-location.
> Unable to load Maven meta-data from https://bintray.com/larpoux/CanardouxMaven/com/google/android/gms/play-services-location/maven-metadata.xml.
> org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 3; The markup in the document preceding the root element must be well-formed.
* 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 24s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
Describe the bug
After upgrading several packages I was getting this error where my app couldn’t even build.
I recognised @Larpoux username in the link in the log so I tried building without flutter_sound and it worked, I then tried with older versions of the package until it worked.
The newest version of flutter_sound that would still let my app build was version 6.1.2
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 19
Dommage. Je vais reflechir un peu plus a ton probleme, cher cousin americain.