OpenHarmony开发者论坛

标题: 应用运行找不到bundle [打印本页]

作者: 15138601710    时间: 2024-4-5 16:57
标题: 应用运行找不到bundle
【问题描述】
测试RTP传输应用时报错

08-05 17:01:22.200 477-1215/? E C01200/Ans: [notification_preferences_database.cpp(RemoveAnsBundleDbInfo):1415] Remove ans bundle db info, bundle[com.example.testrtp:20010040]
08-05 17:01:22.743 477-895/? E C01120/BundleMgrService: [bundle_mgr_service_event_handler.cpp(GetPreInstallCapability):1441] BundleName(com.example.testrtp) no has preinstall capability.
08-05 17:01:22.743 477-895/? E C01120/BundleMgrService: [bundle_mgr_service_event_handler.cpp(GetPreInstallCapability):1441] BundleName(com.example.testrtp) no has preinstall capability.
08-05 17:01:22.746 477-895/? E C01120/BundleMgrService: [bundle_data_mgr.cpp(GetInnerBundleInfo):2226] can not find bundle com.example.testrtp
08-05 17:01:23.227 1794-1794/? E C02c11/APPSPAWN: [sandbox_utils.cpp:197]bind mount /system/asan/lib to /mnt/sandbox/com.example.testrtp/system/asan/lib failed 2, just DEBUG ME
08-05 17:01:23.227 1794-1794/? E C02c11/APPSPAWN: [sandbox_utils.cpp:197]bind mount /system/asan/lib64 to /mnt/sandbox/com.example.testrtp/system/asan/lib64 failed 2, just DEBU
08-05 17:01:23.228 1794-1794/? E C02c11/APPSPAWN: [sandbox_utils.cpp:197]bind mount /system/data to /mnt/sandbox/com.example.testrtp/system/data failed 2, just DEBUG MESSAGE he
08-05 17:01:23.229 1794-1794/? E C02c11/APPSPAWN: [sandbox_utils.cpp:197]bind mount /vendor/asan/lib64 to /mnt/sandbox/com.example.testrtp/vendor/asan/lib64 failed 2, just DEBU
08-05 17:01:23.231 1794-1794/? E C02c11/APPSPAWN: [sandbox_utils.cpp:197]bind mount /data/local/ark-cache/com.example.testrtp to /mnt/sandbox/com.example.testrtp/data/storage/a
08-05 17:02:03.896 1794-1794/com.example.testrtp E C03900/Ace: [jsi_declarative_engine.cpp(CallAppFunc)-(0)] property "default" is not a object
08-05 17:02:03.957 1794-1794/com.example.testrtp E C03900/Ace: [jsi_declarative_engine.cpp(CallAppFunc)-(0)] property "default" is not a object




【运行环境】
硬件:RK3568
DevEvoStudio版本:3.1
SDK版本:3.2.16.6

作者: 深开鸿_王石    时间: 2024-4-9 10:15
rtp的样例应该是是两个设备,一个设备注册个rtp的service,然后另一个设备客户端连找对端bundle,我猜是这个问题啊
作者: 15138601710    时间: 2024-4-10 16:09
回复 深开鸿_王石: 这样的话是必须用两个设备同个样例吗,不可以直接发包到电脑端用VLC收吗
作者: 深开鸿_王石    时间: 2024-4-10 17:14
回复 15138601710: 卡,说岔了,哈哈,请忽略。
你是自己写了个应用装不上还是咋说啊,特权应用是要预制的,参看:https://gitee.com/openharmony/do ... ege-config-guide.md
作者: 15138601710    时间: 2024-4-10 17:41
回复 深开鸿_王石: 是自己写的应用,可以安装但是不能发包,也需要进行特权配置吗?




欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/) Powered by Discuz! X3.5