cocos2d / cocos2d-x

Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
https://www.cocos.com/en/cocos2d-x
18.24k stars 7.06k forks source link

IOS and Android FileUtils #14069

Open mariuskurgonas opened 9 years ago

mariuskurgonas commented 9 years ago

Hi,

I am using latest (3.8.1) cocos2dx build. Written my game in Javascript. When i am calling jsb.fileUtils.isFileExist(DIRECTORY_PATH) returns TRUE on iOS and FALSE on Android. jsb.fileUtils.isDirectoryExist(DIRECTORY_PATH) returns FALSE on iOS and TRUE on Android.....

zilongshanren commented 9 years ago

@mariuskurgonas Wired... @WenhaiLin @minggo Thoughts?

minggo commented 9 years ago

@zilongshanren I don't know why it happens, but it is an issue if it works like that. I think we should try to reproduce it and fix it.

minggo commented 8 years ago

@mariuskurgonas what's the DIRECTORY_PATH you used?

mariuskurgonas commented 8 years ago

I am not sure let me check and get back to you

2016-07-06 9:10 GMT+01:00 minggo notifications@github.com:

@mariuskurgonas https://github.com/mariuskurgonas what's the DIRECTORY_PATH you used?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cocos2d/cocos2d-x/issues/14069#issuecomment-230706253, or mute the thread https://github.com/notifications/unsubscribe/ACxPkc4QGEOPS0gDhByGjj52jTbEB9__ks5qS2L_gaJpZM4GIqf- .