Forrest logo
back to the bundletool tool

bundletool-dump:tldr:b434f

bundletool-dump: Display the configuration for a specific resource.
$ bundletool dump resources --bundle=${path-to-bundle-aab} --resource=${type-name}
try on your machine

The command "bundletool dump resources" is a command used to extract specific resources from an Android App Bundle (AAB) file. It is a command-line tool provided by Google's bundletool utility, which helps in working with App Bundles.

Here is a breakdown of the command and its parameters:

  • "bundletool": It is the name of the command-line tool that you execute.
  • "dump resources": This is the specific action you want the bundletool to perform, which is to extract resources from the bundle.
  • "--bundle=${path-to-bundle-aab}": This parameter specifies the path to the AAB file from which you want to extract the resources. You need to replace ${path-to-bundle-aab} with the actual file path of your AAB bundle.
  • "--resource=${type-name}": This parameter indicates the type of resources you want to extract from the AAB file. You need to replace ${type-name} with the actual type of resource you are interested in. For example, you can specify "strings" to extract the app's localized string resources.

When you execute this command with the appropriate values for --bundle and --resource parameters, bundletool will analyze the AAB file and extract the specified resources to a location that you can use for further processing or inspection.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the bundletool tool