code: private static File findResRawDir(File dir) {
  		for (File file : dir.listFiles()) {
  			if (file.getName().equals(RESOURCE_DIR_NAME) && file.isDirectory()) {
  				File[] rawFiles = file.listFiles(new FileFilter() {
  					@Override
  					public boolean accept(File file) {
  						return file.getName().equals(RAW_DIR_NAME) && file.isDirectory();
  					}
  				});
  				if (rawFiles.length == 1) {
  					return rawFiles[0];
  				}
  			}
  		}
  		return null;
  	}
docs: Look for the resource directory with raw beneath it.