Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不在主线程中调用CCFileUtils::sharedFileUtils()->getWritablePath(),程序奔溃 #97

Open
iniwf opened this issue Jul 2, 2015 · 1 comment

Comments

@iniwf
Copy link

iniwf commented Jul 2, 2015

不在主线程中调用CCFileUtils::sharedFileUtils()->getWritablePath(),程序奔溃,提示D/JniHelper(23260): Failed to find class of org/CrossApp/lib/Cocos2dxHelper

主要是多线程JNI调用的问题引起,希望修改一下,谢谢

@detours
Copy link

detours commented Aug 17, 2015

你可以提前将这个路径存起来,在子线程就可以获取到了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants