调试模式 file.exits判断目录异常
代码如下: public class testfile { public native RenderCar(); public native RenderSky(); public boolean testPathExit() { String str = Environment.getExternalStorageDirectory().getPath(); str = str + "/Android/data/test/"; String str1 = "/storage/sdcard0/Android/data/test/"; File file = new File(str); if (file.exists()) { return true; } return false; } public String getDataPath() { String str1 = "/storage/sdcard0/Android/data/test/"; String str...