Last active
April 12, 2021 07:23
-
-
Save baba-s/e035511887952d4223662a6c70952a92 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET BUNDLETOOL=C:\bundletool-all-1.2.0.jar | |
SET AAB_PATH=%1 | |
SET APKS_PATH=%~p1%~n1.apks | |
REM 同名の .apks が存在するとエラーが発生するので削除しておく | |
del %APKS_PATH% | |
REM .aab から .apks を生成 | |
java -Xmx1G -jar ^ | |
%BUNDLETOOL% ^ | |
build-apks ^ | |
--bundle=%AAB_PATH% ^ | |
--output=%APKS_PATH% ^ | |
--local-testing | |
REM 生成した .apks を端末にインストール | |
java -Xmx1G -jar ^ | |
%BUNDLETOOL% ^ | |
install-apks ^ | |
--apks=%APKS_PATH% | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment