类 AppBundlePackager
java.lang.Object
io.github.amsonix.molt.internal.reschiper.bundle.AppBundlePackager
Utility class for packaging an Android App Bundle (AAB) and writing it to an output file.
-
构造器概要
构造器构造器说明AppBundlePackager(com.android.tools.build.bundletool.model.AppBundle appBundle, Path output) Constructs an AppBundlePackager with the provided AppBundle and output path. -
方法概要
修饰符和类型方法说明voidexecute()Executes the packaging of the Android App Bundle (AAB) and writes it to the output file.
-
构造器详细资料
-
AppBundlePackager
Constructs an AppBundlePackager with the provided AppBundle and output path.- 参数:
appBundle- The Android App Bundle (AAB) to package and write.output- The path to the output file where the packaged AAB will be written.- 抛出:
IllegalArgumentException- If the output file already exists.
-
-
方法详细资料
-
execute
Executes the packaging of the Android App Bundle (AAB) and writes it to the output file.- 抛出:
IOException- If an I/O error occurs during packaging or writing.
-