StnManager never initialized
zxp2010 opened this issue · comments
zhaoxiaopo commented
The global cache not contain StnManager object.
StnManager* stn_manager = Context::CreateContext("default")->GetManager()
Maybe dismiss init function
Context::CreateContext("default")->AddManager(*StnManager)
zhaoxiaopo commented
It look like use JNI JNINativeMethod API.
Mutil Instance Inspect.
Must define Java class :
Context<com/tencent/mars/app/Context>,
AppManager<com/tencent/mars/app/AppManager>,
SdtManager<com/tencent/mars/sdt/SdtManager>,
StnManager<com/tencent/mars/stn/StnManager>