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

Build problems make it unusable #296

Open
GRawhideMart opened this issue May 7, 2024 · 3 comments
Open

Build problems make it unusable #296

GRawhideMart opened this issue May 7, 2024 · 3 comments
Labels
in triage The issue is being triaged more-info-required Indicates that the issue requires more description/information

Comments

@GRawhideMart
Copy link

Describe the bug
Introducing this library leads to build errors. See screenshot for further details.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'pubspec.yaml'
  2. Add audio_waveforms: ^1.0.5 to the dependencies
  3. Try to build for Android
  4. See error

Expected behavior
It should build the Android application

Smartphone (please complete the following information):

  • Google Pixel 8
  • Android
  • Version 14

Screenshots
image

@Ujas-Majithiya
Copy link
Collaborator

I don't see anything related audio waveform in the image you shared. Can you please share full exception?

@Ujas-Majithiya Ujas-Majithiya added more-info-required Indicates that the issue requires more description/information in triage The issue is being triaged labels May 12, 2024
@SamProell
Copy link

this happens for me as well. Just adding the dependency in pubspec.yaml (not adding any code related to audio_waveforms) leads to the build error. Apparently, this only happens with the latest version 1.0.5. With 1.0.4 the app builds just fine (although I haven't tested/added any audio_waveforms functionality just yet).

@agustin-garcia
Copy link

Hello,
If I try the 1.1.1 version, I'm getting the error when building either by downloading the zip code or by copy&pasting the Example code from https://pub.dev/packages/audio_waveforms/example in a new Flutter project

Execution failed for task ':flutter_plugin_android_lifecycle:compileDebugJavaWithJavac'.

Could not resolve all files for configuration ':flutter_plugin_android_lifecycle:androidJdkImage'.
Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for JdkImageTransform: C:\Users\agust\AppData\Local\Android\sdk\platforms\android-34\core-for-system-modules.jar.
...
This is my tech stack:

Android Studio Ladybug | 2024.2.1 Patch 2
Flutter (Channel stable, 3.24.4, on Microsoft Windows [Version 10.0.26100.2161], locale en-US)
• Framework revision 603104015d (12 days ago), 2024-10-24 08:01:25 -0700
• Engine revision db49896cf2
• Dart version 3.5.4
• DevTools version 2.37.3
Windows Version (Installed version of Windows is version 10 or higher)
Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Platform android-35, build-tools 35.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
• Visual Studio - develop Windows apps (Visual Studio Community 2022 17.11.2)
• Windows 10 SDK version 10.0.22621.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in triage The issue is being triaged more-info-required Indicates that the issue requires more description/information
Projects
None yet
Development

No branches or pull requests

4 participants