I installed the Fastlane and updated the FastFile according to the steps provided here and then uploaded my first APK on the google play console using Fastlane.
But while executing the command below it gives an error.
command: fastlane supply init error: "No application was found for the given package name."
To prepare your application for upload into Google Play (APK, AAB, or both) with the new Mobile Application Builder, go to your application card and flag For Android option. It reveals For Android tab that contains the settings you need. Select All variant of the resulting files or only aab file (store package).
AAB is a container that hosts a base APK and multiple split-APKs. Basically, AAB is a publishing format that a developer submits to the Play Store while APK is the packaging format for Android apps that you install on your device.
See similar issue here.
You have to create the application and upload at least one APK through the Play Console before making any modifications using Fastlane.
Quoting this response:
supply
will upload new metadata for an app (or a new apk for an existing app), but cannot upload a brand new app due to Google API limitations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With