Package com.android.builder.dexing
Class DexArchives
java.lang.Object
com.android.builder.dexing.DexArchives
Helper methods for the
DexArchive.-
Method Summary
Modifier and TypeMethodDescriptionstatic DexArchiveCreates aDexArchivefrom the specified path.
-
Method Details
-
fromInput
Creates aDexArchivefrom the specified path. It supports .jar files and directories as inputs.In case of a .jar file, note there are two mutually exclusive modes, write-only and read-only. In case of a write-only mode, only allowed operation is adding entries. If read-only mode is used, entires can only be read.
- Throws:
IOException
-