throwOnInvalidSplitPackage

Returns a sequence which throws SplitPackageException on iteration if the split package is invalid.

If any APK split conflicts with base APK by package name, ConflictingPackageNameException will be thrown. If any APK split conflicts with base APK by version code, ConflictingVersionCodeException will be thrown.

If there is more than one base APK in the sequence, ConflictingBaseApkException will be thrown. If there is no base APK in the sequence, NoBaseApkException will be thrown.

If there are conflicting split names, ConflictingSplitNameException will be thrown.

The operation is intermediate and stateful.


Returns a list of APK splits and throws SplitPackageException if the split package is invalid.

If any APK split conflicts with base APK by package name, ConflictingPackageNameException will be thrown. If any APK split conflicts with base APK by version code, ConflictingVersionCodeException will be thrown.

If there is more than one base APK in the iterable, ConflictingBaseApkException will be thrown. If there is no base APK in the iterable, NoBaseApkException will be thrown.

If there are conflicting split names, ConflictingSplitNameException will be thrown.