Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick Start docs and fastlane command need improving to handle case where no apk has been manually uploaded yet #22017

Open
4 tasks done
lukehutch opened this issue May 13, 2024 · 1 comment

Comments

@lukehutch
Copy link

lukehutch commented May 13, 2024

New Issue Checklist

Issue Description

This doc page says under "Quick Start":

Before using supply to connect to Google Play Store, you'll need to set up your app manually first by uploading at least one build to Google Play Store. See fastlane/fastlane#14686 for more info.

That issue doesn't have enough info to help people solve the problem.

Manually uploading an APK just to get Fastlane working is a huge blocker step, so the docs need some more details here about exactly what steps to go through to accomplish this.

If you haven't manually uploaded an apk yet, then the command suggested under the quoted text above, fastlane supply, gives: [!] Google Api Error: Invalid request - Package not found: <packagename>, as does fastlane init before that:

[02:48:36]: Google Api Error: Invalid request - Package not found: <packagename>.
[02:48:36]: Setting up `supply` (metadata management action) failed, but don't worry, you can try setting it up again using `fastlane supply init` whenever you want.

Furthermore, the user should not have to google to figure out what the problem is, when they see errors like the following. Fastlane needs to detect this and explain exactly what the user needs to do, since this will be such a common problem:

@lukehutch lukehutch changed the title Quick Start docs need improving Quick Start docs and fastlane command need improving to handle case where no apk has been manually uploaded yet May 13, 2024
@carol1987g
Copy link

Hello, MyAARPMedicare] @lukehutch

To resolve the Fastlane supply setup issue for Google Play Store, follow these steps:

Create Service Account: Set up a Google Developers Service Account.
Enable Google Play API: Enable the Google Play Developer API in your Google Cloud Project.
Generate JSON Key: Create a new service account key in JSON format and save it on your computer.
Upload Build Manually: Before using fastlane supply, manually upload at least one build (APK or AAB) to the Google Play Store.
Initialize Fastlane: Run fastlane supply init in your project folder after the manual upload.

This solution will resolve your issue.

Thanks & Best Regards
carol1987g

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants