flutter_plugin_record icon indicating copy to clipboard operation
flutter_plugin_record copied to clipboard

flutter 升级到3.0,运行不了

Open k3v1n-uncle opened this issue 3 years ago • 2 comments

FAILURE: Build failed with an exception.

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

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Failed to transform ffmpeg-android-java-2a627f6ecd.aar (com.github.adrielcafe:ffmpeg-android-java:2a627f6ecd) to match attributes {artifactType=android-aar-metadata, org.gradle.status=release}. > Could not find ffmpeg-android-java-2a627f6ecd.aar (com.github.adrielcafe:ffmpeg-android-java:2a627f6ecd). Searched in the following locations: https://jitpack.io/com/github/adrielcafe/ffmpeg-android-java/2a627f6ecd/ffmpeg-android-java-2a627f6ecd.aar

  • 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 33s Exception: Gradle task assembleDebug failed with exit code 1

k3v1n-uncle avatar Jul 04 '22 08:07 k3v1n-uncle

可以直接使用我们团队维护的fork版本:https://pub.dev/packages/flutter_plugin_record_plus

解决了若干bug,升级至最新的kotlin,支持flutter 3.0

RoleWong avatar Nov 05 '22 14:11 RoleWong

可以直接使用我们团队维护的fork版本:https://pub.dev/packages/flutter_plugin_record_plus

解决了若干bug,升级至最新的kotlin,支持flutter 3.0

直接使用 根据传递的路径进行语音录制 会报错 V/AudioManager(12747): querySoundEffectsEnabled... W/_record_exampl(12747): Accessing hidden method Lsun/misc/Unsafe;->getUnsafe()Lsun/misc/Unsafe; (greylist,core-platform-api, linking, allowed) W/_record_exampl(12747): Accessing hidden method Lsun/misc/Unsafe;->objectFieldOffset(Ljava/lang/reflect/Field;)J (greylist,core-platform-api, linking, allowed) W/_record_exampl(12747): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed) W/_record_exampl(12747): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)

iBinbro avatar Dec 13 '22 10:12 iBinbro