public AarLoader(@Nullable File file) { if (file == null) { throw new IllegalArgumentException("file can't be null"); } try { aarFile = new ZipFile(file); classesLoader = extractClassesJar(file.getName()); } catch (IOException e) { throw new IllegalStateException("Unable to open " + file.getAbsolutePath(), e); } }
public AarLoader(@Nullable File file) { if (file == null) { throw new IllegalArgumentException("file can't be null"); } try { aarFile = new ZipFile(file); classesLoader = extractClassesJar(file.getName()); } catch (IOException e) { throw new IllegalStateException("Unable to open " + file.getAbsolutePath(), e); } }