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

Please migrate, and update audio recorder plugin #1

Closed
shinewanna opened this issue Dec 3, 2021 · 3 comments
Closed

Please migrate, and update audio recorder plugin #1

shinewanna opened this issue Dec 3, 2021 · 3 comments

Comments

@shinewanna
Copy link

Running "flutter pub get" in zay... 17.0s
The plugin flutter_audio_recorder2 uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

@shelzTimesignature
Copy link

hi do you have any plans of updating this package

@anokabb
Copy link
Owner

anokabb commented Jan 29, 2022

hello, I updated the package you can check the latest version, Thanks!

@anokabb anokabb closed this as completed Jan 29, 2022
@shinewanna
Copy link
Author

After upgrade to the latest version, can't build the project

`FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:mergeLibDexDebug'.

A failure occurred while executing com.android.build.gradle.internal.tasks.DexMergingTaskDelegate
There was a failure while executing work items
> A failure occurred while executing com.android.build.gradle.internal.tasks.DexMergingWorkAction
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Type com.dooboolab.fluttersound.BuildConfig is defined multiple times: /Users/shinewanna/app/zay/build/flutter_sound/.transforms/7075e9562b97a2ca94dab9aca70c4cf2/transformed/classes/classes.dex, /Users/shinewanna/app/zay/build/flutter_sound_lite/.transforms/6f06aeb2095eb4fedbc05233440f1cba/transformed/classes/classes.dex

  • 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.

BUILD FAILED in 33s
[!] App requires Multidex support
Flutter multidex handling is disabled. If you wish to let the tool configure multidex, use the --mutidex flag.`

I already enabled multidex, this is something wrong.

chat_composer: 1.0.1 flutter_sound: 8.5.0

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

3 participants