@@ -118,12 +118,12 @@ public void execute() throws Exception {
118118 logger .info ("started genbin command." );
119119 String apksPath = BundleToolWrapper .buildApkSet (bundle , TMP_DIR_PATH , false );
120120 String universalPath = BundleToolWrapper .buildApkSet (bundle , TMP_DIR_PATH , true );
121+ System .gc ();
121122
122123 File binV1 = new File (TMP_DIR_PATH + File .separator + "binv1" );
123124 File binV2V3 = new File (TMP_DIR_PATH + File .separator + "binv2_v3" );
124125
125126 extractAndSignApkSet (apksPath , binV1 , binV2V3 );
126-
127127 extractAndSignApkSet (universalPath , binV1 , binV2V3 );
128128
129129 generateFinalBinFile (binV1 , binV2V3 );
@@ -144,6 +144,7 @@ private void extractAndSignApkSet(String apksPath, File binV1, File binV2V3) thr
144144 for (FileHeader apkSetEntry : apkSetEntries ) {
145145 if (!apkSetEntry .getFileName ().contains ("apk" ))
146146 continue ;
147+ logger .info ("signing " + apkSetEntry .getFileName ());
147148
148149 File apk = new File (TMP_DIR_PATH + File .separator + apkSetEntry .getFileName ());
149150 new File (apk .getParent ()).mkdirs ();
@@ -152,6 +153,7 @@ private void extractAndSignApkSet(String apksPath, File binV1, File binV2V3) thr
152153 apkName = apkName .replace ("/" , "_" );
153154
154155 calculateSignOfApk (apkName , binV1 , binV2V3 , apk );
156+ logger .info ("signed " + apkSetEntry .getFileName ());
155157 }
156158 }
157159
0 commit comments