uniapp 录音功能
![3***@qq.com](https://img-cdn-tc.dcloud.net.cn/account/identicon/9d39b92612191ff1da2e69feb7cc2370.png)
- 发布:2024-02-22 16:50
- 更新:2024-02-22 19:39
- 阅读:182
产品分类: uni小程序SDK
手机系统: Android
手机系统版本号: Android 12
手机厂商: 小米
手机机型: 红米K40
页面类型: vue
SDK版本号: SDK-Android@3.99-20240103
操作步骤:
预期结果:
可以录音
可以录音
实际结果:
程序崩溃了
程序崩溃了
bug描述:
录音报错
Process: cn.chinatower.sl:unimp0, PID: 31371
java.lang.NoClassDefFoundError: Failed resolution of: Lio/dcloud/feature/audio/mp3/SimpleLame;
at io.dcloud.feature.audio.recorder.RecorderTask.init(Unknown Source:18)
at io.dcloud.feature.audio.recorder.RecorderTask.run(Unknown Source:7)
Caused by: java.lang.ClassNotFoundException: Didn't find class "io.dcloud.feature.audio.mp3.SimpleLame" on path: DexPathList[[zip file "/data/app/~~iEuQikpeYcCXnGxBOnA7cg==/cn.chinatower.sl-oOOSTfgtg-tXRRi_Mh0YPw==/base.apk"],nativeLibraryDirectories=[/data/app/~~iEuQikpeYcCXnGxBOnA7cg==/cn.chinatower.sl-oOOSTfgtg-tXRRi_Mh0YPw==/lib/arm64, /data/app/~~iEuQikpeYcCXnGxBOnA7cg==/cn.chinatower.sl-oOOSTfgtg-tXRRi_Mh0YPw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at io.dcloud.feature.audio.recorder.RecorderTask.init(Unknown Source:18)
at io.dcloud.feature.audio.recorder.RecorderTask.run(Unknown Source:7)
2024-02-21 19:43:07.567 31371-31886 UncaughtEx...ionHandler cn.chinatower.sl E java.lang.NoClassDefFoundError: Failed resolution of: Lio/dcloud/feature/audio/mp3/SimpleLame;
1 个回复
DCloud_Android_DQQ
已确认,不是bug