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

flutter 升级到3.0,运行不了 #101

Open
k3v1n-uncle opened this issue Jul 4, 2022 · 2 comments
Open

flutter 升级到3.0,运行不了 #101

k3v1n-uncle opened this issue Jul 4, 2022 · 2 comments

Comments

@k3v1n-uncle
Copy link

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.

BUILD FAILED in 33s
Exception: Gradle task assembleDebug failed with exit code 1

@RoleWong
Copy link

RoleWong commented Nov 5, 2022

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

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

@iBinbro
Copy link

iBinbro commented Dec 13, 2022

可以直接使用我们团队维护的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)

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