鹰击长空169
鹰击长空169
  • 发布:2018-07-31 18:05
  • 更新:2019-01-02 10:53
  • 阅读:2155

【报Bug】HBuilder运行app调用5+audio崩溃

分类:HBuilder

详细问题描述
[内容]
正在做录音功能,以前是好的,然后拿官方demo验证,HBuilder运行5+demo中的录音功能时点击开始录音,app直接崩溃。在android studio中用5+SDK运行是正常的。怀疑官方Hbuilder运行环境中没有打入audio的包。
android studio日志如下:
07-31 17:30:39.317 26510-26713/io.dcloud.HBuilder E/AndroidRuntime: FATAL EXCEPTION: Thread-14
Process: io.dcloud.HBuilder, PID: 26510
java.lang.UnsatisfiedLinkError: No implementation found for void io.dcloud.feature.audio.b.a.a(int, int, int, int, int) (tried Java_io_dcloud_feature_audio_b_a_a and Java_io_dcloud_feature_audio_b_a_a__IIIII)
at io.dcloud.feature.audio.b.a.a(Native Method)
at io.dcloud.feature.audio.c.f.e(RecorderTask.java:260)
at io.dcloud.feature.audio.c.f.run(RecorderTask.java:138)
07-31 17:30:39.531 26510-26510/io.dcloud.HBuilder W/pool-5-thread-1: type=1400 audit(0.0:145941): avc: denied { read } for name="address" dev="sysfs" ino=49450 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
07-31 17:30:39.550 26510-26569/io.dcloud.HBuilder W/System.err: java.io.FileNotFoundException: /system/build.prop (Permission denied)
07-31 17:30:39.551 26510-26569/io.dcloud.HBuilder W/System.err: at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:200)
at java.io.FileInputStream.<init>(FileInputStream.java:150)
at u.aly.bj.e(DeviceConfig.java:1275)
at u.aly.bj.E(DeviceConfig.java:1178)
at u.aly.ak.b(MemoCache.java:166)
07-31 17:30:39.552 26510-26569/io.dcloud.HBuilder W/System.err: at u.aly.ak.a(MemoCache.java:72)
at u.aly.ad.a(CacheImpl.java:216)
at u.aly.ad.b(CacheImpl.java:111)
at u.aly.ae$3.a(CacheService.java:61)
at com.umeng.analytics.g.run(SafeRunnable.java:8)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
07-31 17:30:39.553 26510-26569/io.dcloud.HBuilder W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:784)
07-31 17:30:39.558 26510-26569/io.dcloud.HBuilder W/System.err: java.io.FileNotFoundException: /system/build.prop (Permission denied)
at java.io.FileInputStream.open0(Native Method)
07-31 17:30:39.559 26510-26569/io.dcloud.HBuilder W/System.err: at java.io.FileInputStream.open(FileInputStream.java:200)
at java.io.FileInputStream.<init>(FileInputStream.java:150)
at u.aly.bj.e(DeviceConfig.java:1275)
07-31 17:30:39.560 26510-26569/io.dcloud.HBuilder W/System.err: at u.aly.bj.F(DeviceConfig.java:1210)
at u.aly.ak.b(MemoCache.java:167)
at u.aly.ak.a(MemoCache.java:72)
at u.aly.ad.a(CacheImpl.java:216)
at u.aly.ad.b(CacheImpl.java:111)
at u.aly.ae$3.a(CacheService.java:61)
at com.umeng.analytics.g.run(SafeRunnable.java:8)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
07-31 17:30:39.561 26510-26569/io.dcloud.HBuilder W/System.err: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:784)
07-31 17:30:40.022 26510-26713/io.dcloud.HBuilder W/System.err: java.lang.UnsatisfiedLinkError: No implementation found for void io.dcloud.feature.audio.b.a.a(int, int, int, int, int) (tried Java_io_dcloud_feature_audio_b_a_a and Java_io_dcloud_feature_audio_b_a_aIIIII)
07-31 17:30:40.023 26510-26713/io.dcloud.HBuilder W/System.err: at io.dcloud.feature.audio.b.a.a(Native Method)
at io.dcloud.feature.audio.c.f.e(RecorderTask.java:260)
at io.dcloud.feature.audio.c.f.run(RecorderTask.java:138)
07-31 17:30:40.025 26510-26713/io.dcloud.HBuilder E/UncaughtExceptionHandler: java.lang.UnsatisfiedLinkError: No implementation found for void io.dcloud.feature.audio.b.a.a(int, int, int, int, int) (tried Java_io_dcloud_feature_audio_b_a_a and Java_io_dcloud_feature_audio_b_a_a
IIIII)
07-31 17:30:40.026 26510-26713/io.dcloud.HBuilder I/Process: Sending signal. PID: 26510 SIG: 9

重现步骤
[步骤]
[结果]
[期望]

运行环境
华为荣耀v9
[系统版本]
android8.0
[浏览器版本]
[IDE版本]
HBuilder9.0.8
[mui版本]

附件
[代码片段]
[安装包]

联系方式
[QQ]
[电话]

2018-07-31 18:05 负责人:无 分享
已邀请:
DCloud_App_Array

DCloud_App_Array

此问题已处理过,请使用HBuilder alpha版本或者HBuilderX。

2***@qq.com

2***@qq.com

Android离线打包,录音功能时点击开始录音,app直接崩溃

该问题目前已经被锁定, 无法添加新回复