I am using the following command to generate APK from the AAB file using the bundle tool.
I am using bundletool-all-1.8.2.jar downloaded from here
I am using Windows 10 and when I execute the following command, it didn't generate any APKS file but opened the bundletool-all-1.8.2.jar in WinRAR jar extractor
C:/<Download location>/bundletool-all-1.8.2.jar build-apks --bundle=D:/app-debug.aab --output=D:/app-dev-debug.apks --mode=universal
bundletool.jar is not an executable, it's a java archive, you need to run it using:
For convenience, you create an alias (Unix) or doskey (Windows) to create a shortcut so that typing
bundletool
expands tojava -jar bundletool.jar
.