Gallery中重复文件夹的问题

将CacheServer.java中
public static final String getCachePath(final String subFolderName) {
        return Environment.getExternalStorageDirectory() + "/Android/data/com.cooliris.media/cache/" + subFolderName;
    }

改为
public static final String getCachePath(final String subFolderName) {
        return Environment.getExternalStorageDirectory() + "/Android/data/com.cooliris.media/";
    }


即可解决!

你可能感兴趣的:(java,android,cache)