Google Play Store Publishing - No artifacts were found #2001
Replies: 2 comments 2 replies
-
hello @JohannesA1988, looks like you are missing some steps before building a release. You first need to Set Android SDK location and install dependencies
if you are building a native android app, you can check our example workflow and follow along |
Beta Was this translation helpful? Give feedback.
2 replies
-
Hi, I'm tentatively closing the discussion since we haven't heard back from you. You can open the discussion again by replying to this message or opening a new one. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
Android (Kotlin)
Steps to reproduce
Build Android App with this script:
scripts:
- name: Build Android release
working_directory: myapp
script: |
LATEST_GOOGLE_PLAY_BUILD_NUMBER=$(google-play get-latest-build-number --package-name "$PACKAGE_NAME")
if [ -z $LATEST_GOOGLE_PLAY_BUILD_NUMBER ]; then
# fallback in case no build number was found from google play. Alternatively, you can
exit 1
to fail the buildUPDATED_BUILD_NUMBER=$BUILD_NUMBER
else
UPDATED_BUILD_NUMBER=$(($LATEST_GOOGLE_PLAY_BUILD_NUMBER + 1))
fi
./gradlew bundleRelease -PversionCode=$UPDATED_BUILD_NUMBER -PversionName=1.0.$UPDATED_BUILD_NUMBER
artifacts:
- app/build/outputs/**/*.aab
publishing:
google_play:
credentials: $GCLOUD_KEY_FILE
track: internal
submit_as_draft: true
I followed these guides:
https://docs.codemagic.io/yaml-quick-start/building-a-native-android-app/
https://docs.codemagic.io/yaml-publishing/google-play/
In addition I found that I need to do a first manuell upload. I have done this successfully, including test distribution.
Expected results
Release should be published to Google Play.
Actual results
== Gathering artifacts ==
No artifacts were found
Build id (optional)
64eb8f26a239eb1880e182b6
Beta Was this translation helpful? Give feedback.
All reactions