Open k3v1n-uncle opened 2 years ago
可以直接使用我们团队维护的fork版本:https://pub.dev/packages/flutter_plugin_record_plus
解决了若干bug,升级至最新的kotlin,支持flutter 3.0
可以直接使用我们团队维护的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)
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:checkDebugAarMetadata'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 33s Exception: Gradle task assembleDebug failed with exit code 1