Android读取资源

   InputStream fileStream = context.getAssets().open(res_name);
  // Get a ZipResourceFile representing a merger of both the main and patch files
  ZipResourceFile expansionFile = APKExpansionSupport.getAPKExpansionZipFile(appContext, mainVersion, patchVersion);

  // Get an input stream for a known file inside the expansion file ZIPs
  InputStream fileStream = expansionFile.getInputStream("assets/" + res_name);

参考: APK扩展文件及使用

aliyun