无
- 发布:2021-07-01 23:03
- 更新:2022-12-14 13:36
- 阅读:2445
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 11.3.1
HBuilderX类型: 正式
HBuilderX版本号: 3.1.21
手机系统: Android
手机系统版本号: Android 11
手机厂商: 小米
手机机型: 11
页面类型: nvue
打包方式: 离线
项目创建方式: HBuilderX
操作步骤:
预期结果:
无
无
实际结果:
无
无
bug描述:
使用 <video> 视频播放闪退,使用离线打包
小米11闪退,但是老机型和虚拟机则不会闪退
ndk {
abiFilters 'x86', 'armeabi-v7a'
}
删除arm64-v8a 运行正常,怀疑是arm64-v8a 支持库有问题
报错日志
W/View: requestLayout() improperly called by android.widget.RelativeLayout{6c93bff V.E...... ......ID 0,137-1440,291} during layout: running second layout pass
requestLayout() improperly called by android.widget.RelativeLayout{a306dcc V.E...... ......ID 720,37-720,116} during layout: running second layout pass
D/IJKMEDIA: IjkMediaPlayer_native_profileBegin
W/IJKMEDIA: monstartup already calle
E/TTAG: start false
W/AudioManager: Use of stream types is deprecated for operations other than volume control
See the documentation of requestAudioFocus() for what to use instead with android.media.AudioAttributes to qualify your playback use case
D/IJKMEDIA: IjkMediaPlayer_native_setup
I/IJKMEDIA: av_version_info: ff4.0--ijk0.8.8--20201130--001
ijk_version_info: k0.8.8-32-ge753e08
D/IJKMEDIA: ffpipeline_create_from_android()
ijkmp_set_inject_opaque(0x3832)
ijkmp_set_inject_opaque()=void
ijkmp_set_ijkio_inject_opaque(0x3832)
D/IJKMEDIA: ijkmp_set_ijkio_inject_opaque()=void
ijkmp_android_set_mediacodec_select_callback()
ffpipeline_set_mediacodec_select_callback
ijkmp_android_set_mediacodec_select_callback()=void
IjkMediaPlayer_setOption
IjkMediaPlayer_setOptionLong
I/chatty: uid=10438(com.hzmodi.motocircle) identical 10 lines
D/IJKMEDIA: IjkMediaPlayer_setOptionLong
IjkMediaPlayer_setVolume
ijkmp_android_set_volume(1.000000, 1.000000)
ffpipeline_set_volume
ijkmp_android_set_volume(1.000000, 1.000000)=void
D/tv.danmaku.ijk.media.player.IjkMediaPlayer: Couldn't open file on client side, trying server side
D/IJKMEDIA: IjkMediaPlayer_setDataSourceAndHeaders
V/IJKMEDIA: setDataSource: path https://file.hzmodi.cn/media/0fed48c0618ecfb4ddea7e60da871e5b.mp4
D/IJKMEDIA: ijkmp_set_data_source(url="https://file.hzmodi.cn/media/0fed48c0618ecfb4ddea7e60da871e5b.mp4")
ijkmp_set_data_source(url="https://file.hzmodi.cn/media/0fed48c0618ecfb4ddea7e60da871e5b.mp4")=0
IjkMediaPlayer_setVideoSurface
ijkmp_set_android_surface(surface=0x7fc18fac78)
ffpipeline_set_surface()
ijkmp_set_android_surface(surface=0x7fc18fac78)=void
W/tv.danmaku.ijk.media.player.IjkMediaPlayer: setScreenOnWhilePlaying(true) is ineffective without a SurfaceHolder
D/IJKMEDIA: IjkMediaPlayer_prepareAsync
ijkmp_prepare_async()
I/IJKMEDIA: ===== versions =====
ijkplayer : k0.8.8-32-ge753e08
FFmpeg : ff4.0--ijk0.8.8--20201130--001
libavutil : 56.14.100
libavcodec : 58.18.100
libavformat : 58.12.100
libswscale : 5.1.100
libswresample: 3.1.100
===== options =====
player-opts : mediacodec = 1
player-opts : mediacodec-auto-rotate = 0
player-opts : mediacodec-handle-resolution-change = 0
player-opts : opensles = 0
player-opts : overlay-format = 842225234
player-opts : start-on-prepared = 0
player-opts : framedrop = 1
I/IJKMEDIA: player-opts : soundtouch = 1
player-opts : enable-accurate-seek = 1
format-opts : ijkapplication = -5476376612477502784
format-opts : ijkiomanager = -5476376613900918400
format-opts : user_agent = Mozilla/5.0 (Linux; Android 11; M2011K2C Build/RKQ1.200928.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/87.0.4280.141 Mobile Safari/537.36 uni-app Html5Plus/1.0 (Immersed/39.142857)
format-opts : http-detect-range-support = 0
format-opts : dns_cache_clear = 1
codec-opts : skip_loop_filter = 0
===================
I/IJKMEDIA: SDL_RunThread: [22563] ff_msg_loop
D/IJKMEDIA: message_loop
FFP_MSG_FLUSH:
D/IJKMEDIA: ijkmp_prepare_async()=0
I/IjkPlayerView: status 332
I/IJKMEDIA: SDL_RunThread: [22564] ff_vout
I/IJKMEDIA: SDL_RunThread: [22565] ff_read
A/libc: Fatal signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0x36 in tid 22565 (ff_read), pid 22184 (modi.motocircle)
E/UIWidgetMgr: new -- JSNWindow=_www/__uniappview.html
D/EgretLoader: EgretLoader(Context context)
D/EgretLoader: The context is not activity
Connected to process 22581 on device 'xiaomi-m2011k2c-7bb5c472'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/Perf: Connecting to perf service.
D/NetworkSecurityConfig: No Network Security Config specified, using platform default
D/NetworkSecurityConfig: No Network Security Config specified, using platform default
I/DeviceInfo: sPackageName=com.hzmodi.motocircle;
sDeviceRootDir=/storage/emulated/0;
sBaseFsRootPath=/storage/emulated/0/Android/data/com.hzmodi.motocircle/;
sBaseFsRootFullPath=file:///storage/emulated/0/Android/data/com.hzmodi.motocircle/;
sBaseResRootFullPath=file:///android_asset/;
I/DCloud_LOG: createNewFile 0:/storage/emulated/0/Android/data/com.hzmodi.motocircle/apps/
createNewFile 0:/storage/emulated/0/Android/data/com.hzmodi.motocircle/sitemap/
W/modi.motocircl: Accessing hidden method Landroid/app/ActivityThread;->currentActivityThread()Landroid/app/ActivityThread; (greylist, reflection, allowed)
Accessing hidden field Landroid/app/ActivityThread;->mHiddenApiWarningShown:Z (greylist-max-o, reflection, denied)
I/platform: ClassNotFoundException io.dcloud.common.cs.DL getInstance
I/platform: ClassNotFoundException io.dcloud.feature.x5.X5InitImpl init
I/platform: ClassNotFoundException io.dcloud.feature.weex.WeexDevtoolImpl registerReloadReceiver
I/platform: ClassNotFoundException io.dcloud.feature.cf.cFeatureImpl handleEncryption
I/platform: ClassNotFoundException io.dcloud.feature.cf.cFeatureImpl handleEncryption
E/WeexInstanceMgr: resAppVersionName--=1.0.3 +fcAppVersionName=1.0.3 false
I/platform: ClassNotFoundException io.dcloud.feature.cf.cFeatureImpl handleEncryption
I/platform: ClassNotFoundException io.dcloud.feature.weex.WeexDevtoolImpl initDebugEnvironment
D/SoLoader: init start
adding system library source: /vendor/lib
D/SoLoader: adding system library source: /system/lib
D/SoLoader: adding application source: com.facebook.soloader.DirectorySoSource[root = /data/app/~~3BELpAu2fnmYQNjIMgXxYQ==/com.hzmodi.motocircle-ef-B8JSDMAU9RA6D0Kt4SA==/lib/arm64 flags = 0]
D/SoLoader: adding backup source from : com.facebook.soloader.ApkSoSource[root = /data/data/com.hzmodi.motocircle/lib-main flags = 1]
Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /system/lib flags = 2]
Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /vendor/lib flags = 2]
D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /data/app/~~3BELpAu2fnmYQNjIMgXxYQ==/com.hzmodi.motocircle-ef-B8JSDMAU9RA6D0Kt4SA==/lib/arm64 flags = 0]
Preparing SO source: com.facebook.soloader.ApkSoSource[root = /data/data/com.hzmodi.motocircle/lib-main flags = 1]
V/fb-UnpackingSoSource: locked dso store /data/user/0/com.hzmodi.motocircle/lib-main
I/fb-UnpackingSoSource: dso store is up-to-date: /data/user/0/com.hzmodi.motocircle/lib-main
V/fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.hzmodi.motocircle/lib-main
D/SoLoader: init finish: 4 SO sources prepared
init exiting
E/weex: tryUseRunTimeApi ? false
I/platform: ClassNotFoundException io.dcloud.feature.cf.cFeatureImpl handleEncryption
I/platform: ClassNotFoundException io.dcloud.feature.weex_amap.AMapPluginImpl initPlugin
I/platform: java.lang.ClassNotFoundException: com.taobao.weex.devtools.inspector.elements.android.WXComponentDescriptor
I/platform: java.lang.ClassNotFoundException: com.taobao.weex.devtools.inspector.elements.android.WXComponentDescriptor
ClassNotFoundException io.dcloud.feature.weex_livepusher.LivePusherPlugin initPlugin
I/platform: java.lang.ClassNotFoundException: com.taobao.weex.devtools.inspector.elements.android.WXComponentDescriptor
I/chatty: uid=10438(com.hzmodi.motocircle) identical 4 lines
I/platform: java.lang.ClassNotFoundException: com.taobao.weex.devtools.inspector.elements.android.WXComponentDescriptor
I/platform: ClassNotFoundException io.dcloud.feature.gcanvas.GCanvasRegister initPlugin
I/platform: java.lang.ClassNotFoundException: com.taobao.weex.devtools.inspector.elements.android.WXComponentDescriptor
ClassNotFoundException io.dcloud.feature.weex_ad.DCWXAdPlugin initPlugin
java.lang.ClassNotFoundException: com.taobao.weex.devtools.inspector.elements.android.WXComponentDescriptor
E/DCLoudApplicationImpl: mApplication--=io.dcloud.application.DCloudApplication@fe73471
W/weex: app AvailMemory ---->>>1626
I/DCFileUtils: getAssetPath---------uni-jsframework.js
I/WebViewFactory: Loading com.google.android.webview version 87.0.4280.141 (code 428014133)
E/WXParams: setCrashFilePath: /data/user/0/com.hzmodi.motocircle/app_crash
E/weex: weexjss's Path is/data/app/~~3BELpAu2fnmYQNjIMgXxYQ==/com.hzmodi.motocircle-ef-B8JSDMAU9RA6D0Kt4SA==/lib/arm64/libweexjss.so
D/nativeloader: classloader namespace configured for unbundled product apk. library_path=/product/app/WebViewGoogle/lib/arm64:/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/arm64-v8a:/product/app/TrichromeLibrary/TrichromeLibrary.apk!/lib/arm64-v8a:/product/lib64:/system/product/lib64
W/modi.motocircl: Accessing hidden method Ldalvik/system/BaseDexClassLoader;->getLdLibraryPath()Ljava/lang/String; (greylist,core-platform-api, reflection, allowed)
E/weex: getUseSingleProcess is running false
E/WeexCore: params_utils.cpp:214,g_use_single_process is false
E/weex: getReleaseMap:true
getLibJscPath is running
E/WeexCore: params_utils.cpp:258,g_jscSoPath is
E/weex: getLibJssPath is running /data/app/~~3BELpAu2fnmYQNjIMgXxYQ==/com.hzmodi.motocircle-ef-B8JSDMAU9RA6D0Kt4SA==/lib/arm64/libweexjss.so
E/WeexCore: params_utils.cpp:271,g_jssSoPath is /data/app/~~3BELpAu2fnmYQNjIMgXxYQ==/com.hzmodi.motocircle-ef-B8JSDMAU9RA6D0Kt4SA==/lib/arm64/libweexjss.so
E/WXParams: getCrashFilePath:/data/user/0/com.hzmodi.motocircle/app_crash
E/WeexCore: params_utils.cpp:283,g_crashFilePath is /data/user/0/com.hzmodi.motocircle/app_crash
E/weex: getLibIcuPath is running /apex/com.android.i18n/etc/icu/icudt66l.dat
E/WeexCore: params_utils.cpp:296,g_jssIcuPath is /apex/com.android.i18n/etc/icu/icudt66l.dat
E/weex: getLibJsbPath is running /data/user/0/com.hzmodi.motocircle/cache/cache/weex/libs/weexjsb/arm64-v8a/libweexjsb.so
getLibLdPath is running /data/app/3BELpAu2fnmYQNjIMgXxYQ==/com.hzmodi.motocircle-ef-B8JSDMAU9RA6D0Kt4SA==/lib/arm64:/data/app/3BELpAu2fnmYQNjIMgXxYQ==/com.hzmodi.motocircle-ef-B8JSDMAU9RA6D0Kt4SA==/base.apk!/lib/arm64-v8a
E/WeexCore: multi_process_and_so_initializer.cpp:38,MultiProcessAndSoInitializer IS IN init
E/WeexCore: weex_js_connection.cpp:142,WeexJSConnection g_crashFileName: /data/user/0/com.hzmodi.motocircle/app_crash/crash_dump.log
E/WeexCore: weex_js_connection.cpp:262,startupPie :1
D/nativeloader: classloader namespace configured for unbundled product apk. library_path=/product/app/WebViewGoogle/lib/arm64:/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/arm64-v8a:/product/app/TrichromeLibrary/TrichromeLibrary.apk!/lib/arm64-v8a:/product/lib64:/system/product/lib64
W/modi.motocircl: Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (greylist, reflection, allowed)
Accessing hidden method Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V (greylist, reflection, allowed)
Accessing hidden method Landroid/os/Trace;->traceEnd(J)V (greylist, reflection, allowed)
Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (greylist, reflection, allowed)
Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (greylist, reflection, allowed)
I/cr_LibraryLoader: Loaded native library version number "87.0.4280.141"
I/cr_CachingUmaRecorder: Flushed 5 samples from 5 histograms.
D/io.dcloud.feature.unipush.GTNormalIntentService: call -> onCreate -------
E/DCloudApplication: onTrimMemory
W/System: A resource failed to call close.
I/chatty: uid=10438(com.hzmodi.motocircle) FinalizerDaemon identical 1 line
W/System: A resource failed to call close.
E/WeexCore: weex_js_connection.cpp:298,WeexJSConnection catch: spinWaitPeer timeout
multi_process_and_so_initializer.cpp:47,JSFramwork init start sender is null
IPCFutexPageQueue.cpp:66,do munmap
E/WeexCore: weex_js_connection.cpp:185,IPCException server died spinWaitPeer timeout
E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap
E/WeexCore: weex_js_connection.cpp:142,WeexJSConnection g_crashFileName: /data/user/0/com.hzmodi.motocircle/app_crash/crash_dump.log
E/WeexCore: weex_js_connection.cpp:262,startupPie :1
2 个回复
2***@qq.com
我也遇到这个问题了,用最新的sdk离线打包,视频无法播放
x***@163.com
确认下来就是这个问题 删除arm64-v8a 运行正常,怀疑是arm64-v8a 支持库有问题
DCloud_Android_zl
升级到最新的HBuilder X试一下,然后说明一下具体的手机型号,离线打包还是云打包
2022-12-15 10:30
x***@163.com
回复 DCloud_Android_zl: 3063 (ff_read), pid 2243 (io.dcloud.unimp)
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: Softversion: PD2046_A_5.16.1
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: Time: 2023-01-03 14:17:41
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG:
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: Build fingerprint: 'vivo/PD2046/PD2046:11/RP1A.200720.012/compiler10211526:user/release-keys'
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: Revision: '0'
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: ABI: 'arm64'
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: Timestamp: 2023-01-03 14:17:41+0800
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: pid: 2243, tid: 3063, name: ff_read >>> com.ouyeel.mobilePro:io.dcloud.unimp <<<
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: uid: 11089
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0x74737b2c227765
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: x0 b4000076eefb1000 x1 0000000000000001 x2 000000778f877920 x3 0000000000001020
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: x4 6174737b2c227765 x5 8000000000800080 x6 ff63070279ff71ff x7 7f7f7f7f7f7f7f7f
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: x8 0101010101010101 x9 3119ad3389c2d301 x10 00000076ef00dd40 x11 b4000076ebb21628
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: x12 0000000000000005 x13 0000000000000000 x14 fffffffffc000000 x15 0000000000000030
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: x16 00000077911092c8 x17 0000007823c1f770 x18 00000076d7dd0000 x19 000000778f877920
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: x20 b4000076eefb1000 x21 b4000076ebd16fa0 x22 b4000076ebd16f40 x23 000000778f878a88
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: x24 0000000000000000 x25 0000007790b51000 x26 0000000000000001 x27 b4000076e85ff548
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: x28 00000000000fc000 x29 000000778f878c70
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: lr 0000007790ea5aa4 sp 000000778f8778e0 pc 0074737b2c227765 pst 0000000000001000
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: backtrace:
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: #00 pc 0074737b2c227765 <unknown>
2023-01-03 14:17:41.659 3076-3076/? A/DEBUG: #01 pc 0000000000312aa0 /data/app/~~1A1dvTTW3iK5JDS-tPrzUQ==/com.ouyeel.mobilePro-OEiPB6WK_B07XzUwlLIaag==/lib/arm64/libijkffmpeg.so (av_application_on_http_event+24)
2023-01-03 14:18