Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't upload Android APK to Google play store using Fastlane

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."

like image 920
Manoj Cogzidel Avatar asked May 22 '18 12:05

Manoj Cogzidel


People also ask

Can I upload AAB file to play store?

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).

What is the difference between APK and AAB?

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.


1 Answers

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.

like image 107
Alex Lipov Avatar answered Nov 03 '22 01:11

Alex Lipov