linux判断文件是否存在
#!/bin/sh myPath="/var/log/httpd/" myFile="/var /log/httpd/access.log" ...
#!/bin/sh myPath="/var/log/httpd/" myFile="/var /log/httpd/access.log" ...
最近在做一款cocos2d-x的游戏,想用access去判断文件是否存在,在windows和ios平台完全ok,但是android怎么都不可以。后来发现,原来anroid的资源文件都还在apk中未解压 ...