Get application ID from the APK

To get information from the APK use the aapt tool, bundled with the SDK.

aapt dump badging <apk path>

The application ID is the package name, most likely the first line of the output, e.g. for a local Fenix buid:

$ aapt dump badging fenix.apk
package: name='org.mozilla.fenix.debug' versionCode='1' versionName='1.0.2507' platformBuildVersionName='15' platformBuildVersionCode='35' compileSdkVersion='35' compileSdkVersionCodename='15'
<snip>
Last change: 2025-02-13, commit: 6a7c168