OpenHarmony开发者论坛
标题:
DevEco Studio打包团结引擎应用报错Cannot read property nativeOnResume of undefined
[打印本页]
作者:
wxp0821
时间:
2024-8-4 16:12
标题:
DevEco Studio打包团结引擎应用报错Cannot read property nativeOnResume of undefined
[md]### 【问题描述】
1. 介绍问题现象和发生的背景
2. 相关的代码(请勿使用截图)
3. 运行结果、错误截图
4. ![2024-08-04_161020.png](
https://forums-obs.openharmony.c ... hk4cmumiqkhmfy5.png
"2024-08-04_161020.png")
5. Device info:OpenHarmony 3.2
Build info:OpenHarmony 3.2.9.1
Module name:com.test.Harmony001
Version:0.1
Pid:358
Uid:20040005
Reason:TypeError
Error message:Cannot read property nativeOnResume of undefined
SourceCode:
tuanjie.nativeOnResume();
^
Stacktrace:
at onForeground (/ets/ability/TuanjiePlayerAbility.ts:81:5)
6. 我尝试过的解决方法和结果
7. 我想要达到的结果
### 【运行环境】
硬件:
ROM版本:
DevEvoStudio版本:
SDK版本:
[/md]
欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/)
Powered by Discuz! X3.5