public ResResource getResource(ResResSpec spec) throws IOException {
        ResResource res = mResources.get(spec);
        if (res == null) {
            /*
             * throw new IOException(String.format(
             * "resource: spec=%s, config=%s", spec, this));
             */
        }
        return res;
    }
throw new IOException(String.format( "Multiple resources:
spec=%s, config=%s", spec, this));
android/third_party/apkbuilder/src/main/java/zhao/arsceditor/ResDecoder/data/ResConfig.java