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

Broken on Android #317

Closed
bayasdev opened this issue May 23, 2024 · 1 comment
Closed

Broken on Android #317

bayasdev opened this issue May 23, 2024 · 1 comment

Comments

@bayasdev
Copy link

Package version
record 5.1.0 and record_android 1.2.0

Environment

  • OS: [e.g. iOS/Windows/...] MacOS
  • Browser [e.g. chrome, safari]

Describe the bug

A clear and concise description of what the bug is.

Launching lib/main.dart on M2102J20SG in debug mode...
e: /Users/victor/.pub-cache/hosted/pub.dev/record_android-1.2.0/android/src/main/kotlin/com/llfbandit/record/record/format/Format.kt: (13, 44): Unresolved reference: PassthroughEncoder
e: /Users/victor/.pub-cache/hosted/pub.dev/record_android-1.2.0/android/src/main/kotlin/com/llfbandit/record/record/format/Format.kt: (55, 17): Unresolved reference: PassthroughEncoder
e: /Users/victor/.pub-cache/hosted/pub.dev/record_android-1.2.0/android/src/main/kotlin/com/llfbandit/record/record/recorder/RecordThread.kt: (5, 36): Unresolved reference: PCMReader
e: /Users/victor/.pub-cache/hosted/pub.dev/record_android-1.2.0/android/src/main/kotlin/com/llfbandit/record/record/recorder/RecordThread.kt: (11, 43): Unresolved reference: AmrNbFormat
e: /Users/victor/.pub-cache/hosted/pub.dev/record_android-1.2.0/android/src/main/kotlin/com/llfbandit/record/record/recorder/RecordThread.kt: (12, 43): Unresolved reference: AmrWbFormat
e: /Users/victor/.pub-cache/hosted/pub.dev/record_android-1.2.0/android/src/main/kotlin/com/llfbandit/record/record/recorder/RecordThread.kt: (13, 43): Unresolved reference: FlacFormat
e: /Users/victor/.pub-cache/hosted/pub.dev/record_android-1.2.0/android/src/main/kotlin/com/llfbandit/record/record/recorder/RecordThread.kt: (15, 43): Unresolved reference: OpusFormat
e: /Users/victor/.pub-cache/hosted/pub.dev/record_android-1.2.0/android/src/main/kotlin/com/llfbandit/record/record/recorder/RecordThread.kt: (16, 43): Unresolved reference: PcmFormat
e: /Users/victor/.pub-cache/hosted/pub.dev/record_android-1.2.0/android/src/main/kotlin/com/llfbandit/record/record/recorder/RecordThread.kt: (17, 43): Unresolved reference: WaveFormat
e: /Users/victor/.pub-cache/hosted/pub.dev/record_android-1.2.0/android/src/main/kotlin/com/llfbandit/record/record/recorder/RecordThread.kt: (27, 25): Unresolved reference: PCMReader
e: /Users/victor/.pub-cache/hosted/pub.dev/record_android-1.2.0/android/src/main/kotlin/com/llfbandit/record/record/recorder/RecordThread.kt: (116, 26): Unresolved reference: PCMReader
e: /Users/victor/.pub-cache/hosted/pub.dev/record_android-1.2.0/android/src/main/kotlin/com/llfbandit/record/record/recorder/RecordThread.kt: (135, 42): Unresolved reference: AmrNbFormat
e: /Users/victor/.pub-cache/hosted/pub.dev/record_android-1.2.0/android/src/main/kotlin/com/llfbandit/record/record/recorder/RecordThread.kt: (136, 42): Unresolved reference: AmrWbFormat
e: /Users/victor/.pub-cache/hosted/pub.dev/record_android-1.2.0/android/src/main/kotlin/com/llfbandit/record/record/recorder/RecordThread.kt: (137, 41): Unresolved reference: FlacFormat
e: /Users/victor/.pub-cache/hosted/pub.dev/record_android-1.2.0/android/src/main/kotlin/com/llfbandit/record/record/recorder/RecordThread.kt: (138, 46): Unresolved reference: PcmFormat
e: /Users/victor/.pub-cache/hosted/pub.dev/record_android-1.2.0/android/src/main/kotlin/com/llfbandit/record/record/recorder/RecordThread.kt: (139, 41): Unresolved reference: OpusFormat
e: /Users/victor/.pub-cache/hosted/pub.dev/record_android-1.2.0/android/src/main/kotlin/com/llfbandit/record/record/recorder/RecordThread.kt: (140, 40): Unresolved reference: WaveFormat

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':record_android:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details

* 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 5s
Error: Gradle task assembleDebug failed with exit code 1


Exited (1).

To Reproduce

Steps to reproduce the behavior:

  1. Build the project for Android

Expected behavior

A clear and concise description of what you expected to happen.

Additional context

Add any other context about the problem here.

@llfbandit
Copy link
Owner

Please, cleanup your project.
flutter clean && flutter pub get

There's no issue here.

@llfbandit llfbandit closed this as not planned Won't fix, can't repro, duplicate, stale May 23, 2024
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