登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
代码拉取完成,页面将自动刷新
开源项目
>
OpenHarmony
>
多媒体(Multimedia)
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
7
Star
30
Fork
9
华为移动服务
/
hms-video-editor-demo
代码
Issues
6
Pull Requests
0
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
UI SDK安卓11启动编辑页面崩溃
待办的
#I4SI83
卢声波
创建于
2022-01-28 23:42
这是友盟抓取的日志 ``` Process Name: 'cn.xxxx.videoEdit' Thread Name: 'main' Back traces starts. java.lang.RuntimeException: Unable to start activity ComponentInfo{cn.c7cloud.videoEdit/com.huawei.hms.videoeditor.ui.mediapick.activity.MediaPickActivity}: java.lang.SecurityException: getDataNetworkTypeForSubscriber at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3717) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3884) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:140) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:100) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2314) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:260) at android.app.ActivityThread.main(ActivityThread.java:8260) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006) Caused by: java.lang.SecurityException: getDataNetworkTypeForSubscriber at android.os.Parcel.createExceptionOrNull(Parcel.java:2389) at android.os.Parcel.createException(Parcel.java:2373) at android.os.Parcel.readException(Parcel.java:2356) at android.os.Parcel.readException(Parcel.java:2298) at com.android.internal.telephony.ITelephony$Stub$Proxy.getNetworkTypeForSubscriber(ITelephony.java:8762) at java.lang.reflect.Method.invoke(Native Method) at com.jg.bh.b.a.a.invoke(Native Method) at java.lang.reflect.Proxy.invoke(Proxy.java:1006) at $Proxy7.getNetworkTypeForSubscriber(Unknown Source) at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:3024) at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:2988) at com.huawei.hms.videoeditor.sdk.hianalytics.d.a(HianalyticsLogUtils.java:8) at com.huawei.hms.videoeditor.sdk.hianalytics.event.BaseInfoGatherEvent.getCommonData(BaseInfoGatherEvent.java:9) at com.huawei.hms.videoeditor.sdk.hianalytics.event.BaseInfoGatherEvent.getEventData(BaseInfoGatherEvent.java:2) at com.huawei.hms.videoeditor.sdk.hianalytics.HianalyticsLogProvider.postEvent(HianalyticsLogProvider.java:17) at com.huawei.hms.videoeditor.ui.mediapick.activity.MediaPickActivity.onCreate(Native Method) at android.app.Activity.performCreate(Activity.java:8146) at android.app.Activity.performCreate(Activity.java:8130) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1310) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3686) ... 11 more Back traces ends. ``` 自己找了安卓11的机器测试了一下,在Wi-Fi环境下正常,切换到移动网络崩溃。 百度了一下,说是需要READ_PHONE_STATE权限,目前正在修复该问题。
这是友盟抓取的日志 ``` Process Name: 'cn.xxxx.videoEdit' Thread Name: 'main' Back traces starts. java.lang.RuntimeException: Unable to start activity ComponentInfo{cn.c7cloud.videoEdit/com.huawei.hms.videoeditor.ui.mediapick.activity.MediaPickActivity}: java.lang.SecurityException: getDataNetworkTypeForSubscriber at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3717) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3884) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:140) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:100) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2314) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:260) at android.app.ActivityThread.main(ActivityThread.java:8260) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006) Caused by: java.lang.SecurityException: getDataNetworkTypeForSubscriber at android.os.Parcel.createExceptionOrNull(Parcel.java:2389) at android.os.Parcel.createException(Parcel.java:2373) at android.os.Parcel.readException(Parcel.java:2356) at android.os.Parcel.readException(Parcel.java:2298) at com.android.internal.telephony.ITelephony$Stub$Proxy.getNetworkTypeForSubscriber(ITelephony.java:8762) at java.lang.reflect.Method.invoke(Native Method) at com.jg.bh.b.a.a.invoke(Native Method) at java.lang.reflect.Proxy.invoke(Proxy.java:1006) at $Proxy7.getNetworkTypeForSubscriber(Unknown Source) at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:3024) at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:2988) at com.huawei.hms.videoeditor.sdk.hianalytics.d.a(HianalyticsLogUtils.java:8) at com.huawei.hms.videoeditor.sdk.hianalytics.event.BaseInfoGatherEvent.getCommonData(BaseInfoGatherEvent.java:9) at com.huawei.hms.videoeditor.sdk.hianalytics.event.BaseInfoGatherEvent.getEventData(BaseInfoGatherEvent.java:2) at com.huawei.hms.videoeditor.sdk.hianalytics.HianalyticsLogProvider.postEvent(HianalyticsLogProvider.java:17) at com.huawei.hms.videoeditor.ui.mediapick.activity.MediaPickActivity.onCreate(Native Method) at android.app.Activity.performCreate(Activity.java:8146) at android.app.Activity.performCreate(Activity.java:8130) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1310) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3686) ... 11 more Back traces ends. ``` 自己找了安卓11的机器测试了一下,在Wi-Fi环境下正常,切换到移动网络崩溃。 百度了一下,说是需要READ_PHONE_STATE权限,目前正在修复该问题。
评论 (
1
)
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已关闭
负责人
未设置
标签
未设置
标签管理
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
未关联
master
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(1)
1
https://gitee.com/hms-core/hms-video-editor-demo.git
git@gitee.com:hms-core/hms-video-editor-demo.git
hms-core
hms-video-editor-demo
hms-video-editor-demo
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册