I am getting the errors in the fastlane for building a signed apk as an assembleRelease apk and i want to deploy the update on the playstore but when i firing the fastlane command at the time i am getting the error for the increment_version_code.
Shubhams-MacBook-Air:ProjectPath shubhamsejpal$ fastlane beta
[✔] 🚀
[23:33:51]: fastlane detected a Gemfile in the current directory
[23:33:51]: however it seems like you don't use `bundle exec`
[23:33:51]: to launch fastlane faster, please use
[23:33:51]:
[23:33:51]: $ bundle exec fastlane beta
[23:33:51]:
[23:33:51]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[23:33:51]: WARNING: fastlane requires your locale to be set to UTF-8. To learn more go to https://docs.fastlane.tools/getting-started/ios/setup/#set-up-environment-variables
[23:33:52]: ----------------------------------------
[23:33:52]: --- Step: Verifying fastlane version ---
[23:33:52]: ----------------------------------------
[23:33:52]: Your fastlane version 2.90.0 matches the minimum requirement of 2.64.0 ✅
[23:33:52]: ------------------------------
[23:33:52]: --- Step: default_platform ---
[23:33:52]: ------------------------------
[23:33:52]: Driving the lane 'android beta' 🚀
+------------------+--------------+
| Lane Context |
+------------------+--------------+
| DEFAULT_PLATFORM | android |
| PLATFORM_NAME | android |
| LANE_NAME | android beta |
+------------------+--------------+
[23:33:52]: Could not find action, lane or variable 'increment_version_code'. Check out the documentation for more details: https://docs.fastlane.tools/actions
+------+---------------------+-------------+
| fastlane summary |
+------+---------------------+-------------+
| Step | Action | Time (in s) |
+------+---------------------+-------------+
| 1 | Verifying fastlane | 0 |
| | version | |
| 2 | default_platform | 0 |
+------+---------------------+-------------+
[23:33:52]: fastlane finished with errors
[!] Could not find action, lane or variable 'increment_version_code'. Check out the documentation for more details: https://docs.fastlane.tools/actions
[23:33:52]: WARNING: fastlane requires your locale to be set to UTF-8. To learn more go to https://docs.fastlane.tools/getting-started/ios/setup/#set-up-environment-variables
you have to add this plugin
fastlane add_plugin increment_version_code
reference url
Related
I'm trying to build and upload my android app to Firebase.
I'm using CircleCI, fastlane and fastlane-plugin-firebase_app_distribution.
Currently, it is building and uploading to Firebase but after Downloading the app, I receive a message 'Installation failed'
CI (fastlane and fastlane-plugin-firebase_app_distribution) output
[15:58:50]: ---------------------------------------
[15:58:50]: --- Step: firebase_app_distribution ---
[15:58:50]: ---------------------------------------
[15:58:50]: Authenticating with --service_credentials_file path parameter: ./google-services-private-key.json
[15:58:50]: 🔐 Authenticated successfully.
[15:58:50]: ⌛ Uploading the APK.
[15:58:56]: ✅ Uploaded APK successfully and created release 1.0 (1).
[15:58:56]: ✅ Posted release notes.
[15:58:57]: ✅ Added testers/groups.
[15:58:57]: 🎉 App Distribution upload finished successfully.
+------+---------------------------+-------------+
| fastlane summary |
+------+---------------------------+-------------+
| Step | Action | Time (in s) |
+------+---------------------------+-------------+
| 1 | default_platform | 0 |
| 2 | assemble | 124 |
| 3 | firebase_app_distribution | 7 |
+------+---------------------------+-------------+
[15:58:57]: fastlane.tools finished successfully 🎉
CircleCI received exit code 0
And this is my lane (Fastfile)
desc "Upload to Firebase"
lane :upload_firebase do
gradle(
task: "assemble"
)
firebase_app_distribution(
app: 'APP-ID',
groups: 'my-group',
release_notes: "Release",
firebase_cli_path: "/usr/local/bin/firebase",
firebase_cli_token: ENV['FIREBASE_CI_TOKEN'],
service_credentials_file: './google-services-private-key.json'
)
end
And in CI I execute the lane: bundle exec fastlane upload_firebase.
I googled about this but I couldnt find anything useful.
Any help is welcome.
When I run fastlane to build project, I get error:
C:\Users\Me\AndroidStudioProjects\MyProject\MyProject-android>fastlane staging app:MyApp
[✔] 🚀
[11:56:13]: fastlane detected a Gemfile in the current directory
[11:56:13]: However, it seems like you didn't use bundle exec
[11:56:13]: To launch fastlane faster, please use
[11:56:13]:
[11:56:13]: $ bundle exec fastlane staging app:MyApp
[11:56:13]:
[11:56:13]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
+---------------------------+---------+------------------------------------+
| Used plugins |
+---------------------------+---------+------------------------------------+
| Plugin | Version | Action |
+---------------------------+---------+------------------------------------+
| fastlane-plugin-cryptex | 0.1.5 | cryptex, cryptex_generate_keystore |
| fastlane-plugin-appcenter | 2.0.0 | appcenter_codepush_release_react, |
| | | appcenter_fetch_devices, |
| | | appcenter_fetch_version_number, |
| | | appcenter_upload |
+---------------------------+---------+------------------------------------+
11:56:16: --- Step: default_platform ---
11:56:16: ------------------------------
11:56:16: Driving the lane 'android staging' 🚀
11:56:16: --------------------------------------------------
11:56:16: --- Step: Switch to android assemble_vars lane ---
11:56:16: --------------------------------------------------
11:56:16: Cruising over to lane 'android assemble_vars' 🚖
11:56:16: Cruising back to lane 'android staging' 🚘
11:56:16: ------------------------------------------
11:56:16: --- Step: Switch to android build lane ---
11:56:16: ------------------------------------------
11:56:16: Cruising over to lane 'android build' 🚖
11:56:16: ---------------------
11:56:16: --- Step: cryptex ---
11:56:16: ---------------------
11:56:16: The cryptex plugin is working!
11:56:16: Successfully loaded 'C:/Users/Me/AndroidStudioProjects/MyProject/MyProject-android/fastlane/Cryptexfile' 📄
+---------+----------------------------------------------------------+
| Detected Values from './fastlane/Cryptexfile' |
+---------+----------------------------------------------------------+
| git_url | git#bitbucket.org:MyProject/MyProject-certificates.git |
+---------+----------------------------------------------------------+
+---------------+----------------------------------------------------------+
| Summary for cryptex 0.1.5 |
+---------------+----------------------------------------------------------+
| type | export |
| out | fastlane/secrets/MyProject-ci.json |
| key |MyProject-ci.key |
| git_url | git#bitbucket.org:MyProject/MyProjectcertificates.git |
| git_branch | master |
| set_env | false |
| verbose | false |
| shallow_clone | false |
| skip_docs | false |
| digest | md5 |
+---------------+----------------------------------------------------------+
11:56:16: Cloning remote git repo...
No such file or directory - GIT_TERMINAL_PROMPT=0 git clone 'git#bitbucket.org:MyProject/MyProject-certificates.git' 'C:/Users/ME1/AppData/Local/Temp/d20220514-12820-9gt23v'
11:56:16: Error cloning Repo
11:56:16: Run the following command manually to make sure you're properly authenticated:
11:56:16: $ git clone 'git#bitbucket.org:MyProject/MyProject-certificates.git' 'C:/Users/ME1/AppData/Local/Temp/d20220514-12820-9gt23v'
11:56:16: 🔒 Successfully encrypted certificates repo
+------------------+-----------------+
| Lane Context |
+------------------+-----------------+
| DEFAULT_PLATFORM | android |
| PLATFORM_NAME | android |
| LANE_NAME | android staging |
+------------------+-----------------+
11:56:16: Error cloning cryptex git repo, please make sure you have access to the repository - see instructions above
+------+--------------------------------------+-------------+
| fastlane summary |
+------+--------------------------------------+-------------+
| Step | Action | Time (in s) |
+------+--------------------------------------+-------------+
| 1 | default_platform | 0 |
| 2 | Switch to android assemble_vars lane | 0 |
| 3 | Switch to android build lane | 0 |
| 💥 | cryptex | 0 |
+------+--------------------------------------+-------------+
11:56:16: fastlane finished with errors
[!] Error cloning cryptex git repo, please make sure you have access to the repository - see instructions above
But if I run :
$ git clone git#bitbucket.org:MyProject/MyProject-certificates.git C:/Users/ME~1/AppData/Local/Temp/d20220514-12820-9gt23v
or
or if I run
GIT_TERMINAL_PROMPT=0 git clone git#bitbucket.org:MyProject/MyProject-certificates.git
cloning is successful.
My FastFile:
platform :android do
desc "Assemble input vars"
lane :assemble_vars do |options|
# Supply package name from CLI (com.myproj.firstrapp or com.myproj.secondapp)
# See https://github.com/fastlane/fastlane/issues/7949
case options[:app]
when "FirstApp"
$apk_file = "./FirstApp/build/outputs/apk/FirstApp-release.apk"
$package_name = "com.myproj.firstrapp"
$task_prefix = "FirstApp"
$appcenter_app = "FirstApp"
when "MyProject"
$apk_file = "./MyProject/build/outputs/apk/MyProject-release.apk"
$package_name = "com.myproj.secondapp"
$task_prefix = "MyProject"
$appcenter_app = "MyProject"
else
raise "Invalid app name #{options[:app]}"
end
end
desc "Invoke build"
lane :build do |options|
# Fetch secrets
cryptex(
type: "export",
out: "fastlane/secrets/MyProject-ci.json",
key: "MyProject-ci.key"
)
cryptex(
type: "export",
out: "fastlane/secrets/MyProject_signing.jks",
key: "MyProject_signing.jks"
)
# Build
gradle(
task: "common:assembleRelease #{$task_prefix}:assembleRelease",
print_command: false,
properties: {
"android.injected.signing.store.file" => "fastlane/secrets/MyProject_signing.jks",
"android.injected.signing.store.password" => ENV["ANDROID_SIGNING_KEY"],
"android.injected.signing.key.alias" => "MyProject",
"android.injected.signing.key.password" => ENV["ANDROID_SIGNING_KEY"],
}
)
end
desc "Submit a new Beta Build to Appcenter"
lane :staging do |options|
# Assemble vars
assemble_vars(
app: options[:app]
)
# Invoke build
build(
)
appcenter_upload(
api_token: "********************************************************",
owner_name: "MyProject",
owner_type: "organization",
app_name: $appcenter_app,
notify_testers: true
)
# Notify in Slack
if ENV["SLACK_URL"] =~ /.+/
slack(
message: "MyProject Android version available check your inbox!",
channel: "#ci",
success: true,
default_payloads: [:git_branch, :git_author, :last_git_commit_message]
)
end
end
desc "Deploy a new version to the Google Play"
lane :production do |options|
# Assemble vars
assemble_vars(
app: options[:app]
)
# Invoke build
build(
)
# Upload to Goodle Play
supply(
# Supply JSON credentials from cryptex
json_key: "fastlane/secrets/MyProject-ci.json",
package_name: $package_name,
apk: $apk_file,
# Uncomment for internal testing
# track: "internal",
skip_upload_metadata: true,
skip_upload_images: true,
skip_upload_screenshots: true
)
# Notify in Slack
if ENV["SLACK_URL"] =~ /.+/
slack(
message: "New Google Play version ready for publishing - check the App Store, write release notes & publish!",
channel: "#ci",
success: true,
default_payloads: [:git_branch, :git_author, :last_git_commit_message]
)
end
end
end
# error block is executed when a error occurs
error do |lane, exception|
if ENV["SLACK_URL"] =~ /.+/
slack(
message: "CI failed with exception : #{exception.to_s}",
success: false,
default_payloads: [:git_branch, :git_author, :last_git_commit_message],
# Output containing extended log output
payload: { "Output" => exception.to_s }
)
end
end
I am building a web application allowing users to build and deploy a Flutter mobile app on Play Store with one click.
I was testing the deployment with Fastlane when I got this
:~/data/60e294c76bb64b00207a83bc/android$ fastlane supply --aab ../build/app/outputs/bundle/release/app-release.aab --track beta --rollout 0.5
[✔] 🚀
[17:13:56]: fastlane detected a Gemfile in the current directory
[17:13:56]: However, it seems like you didn't use `bundle exec`
[17:13:56]: To launch fastlane faster, please use
[17:13:56]:
[17:13:56]: $ bundle exec fastlane supply --aab ../build/app/outputs/bundle/release/app-release.aab --track beta --rollout 0.5
[17:13:56]:
[17:13:56]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
+---------------------------------+--------------------------------------------------------+
| Summary for supply 2.187.0 |
+---------------------------------+--------------------------------------------------------+
| aab | ../build/app/outputs/bundle/release/app-release.aab |
| track | beta |
| rollout | 0.5 |
| package_name | com.draft.mobile.fosso_mael_elvis.p60e294c76bb64b0020 |
| | 7a83bc |
| release_status | completed |
| json_key | ~/Draft/pc-api-xxxxxxxxxxxx-xxxwwwwyyy.json |
| skip_upload_apk | false |
| skip_upload_aab | false |
| skip_upload_metadata | false |
| skip_upload_changelogs | false |
| skip_upload_images | false |
| skip_upload_screenshots | false |
| validate_only | false |
| check_superseded_tracks | false |
| timeout | 300 |
| deactivate_on_promote | true |
| ack_bundle_installation_warning | false |
+---------------------------------+--------------------------------------------------------+
[!] Google Api Error: Invalid request - Package not found: com.draft.mobile.fosso_mael_elvis.p60e294c76bb64b00207a83bc.
I got the error [!] Google Api Error: Invalid request - Package not found: com.draft.mobile.fosso_mael_elvis.p60e294c76bb64b00207a83bc. many times after many configurations from fastlane deploy to fastlane supply
It seems like this error means that to use Fastlane for auto-deployment you must deploy it first manually so that the package ID will be available in Play Store for an update. So it's almost like an auto-update that an auto-deployment 😢
So my question is, is there a tool or a way to deploy a mobile application completely automatically?
Try upload .aab or .apk manually on google play console, then use fastlane to auto deploy next versions...
Im setting up a new machine to run Android pipeline, when I'm trying to upload APK to Fabric using fastlane display this error: Fastlane finished with errors
[!] Error fetching remote file: Connection reset by peer - SSL_connect
I have proxy, I already set the proxy in bash_profile, gradle.proprieties, etc/profile
Result:
[11:47:10]: The `generated_fastfile_id` action was deprecated, you can remove the line from your `Fastfile`
[11:47:10]: ------------------------------
[11:47:10]: --- Step: default_platform ---
[11:47:10]: ------------------------------
[11:47:10]: Driving the lane 'beta_deploy' 🚀
[11:47:10]: -----------------------------------------------
[11:47:10]: --- Step: Switch to upload_crashlytics lane ---
[11:47:10]: -----------------------------------------------
[11:47:10]: Cruising over to lane 'upload_crashlytics' 🚖
[11:47:10]: -------------------------
[11:47:10]: --- Step: crashlytics ---
[11:47:10]: -------------------------
[11:47:10]: Downloading Crashlytics Support Library - this might take a minute...
+------------------+-------------+
| Lane Context |
+------------------+-------------+
| DEFAULT_PLATFORM | android |
| PLATFORM_NAME | |
| LANE_NAME | beta_deploy |
+------------------+-------------+
[11:47:10]: Error fetching remote file: Connection reset by peer - SSL_connect
+------+-----------------------------------+-------------+
| fastlane summary |
+------+-----------------------------------+-------------+
| Step | Action | Time (in s) |
+------+-----------------------------------+-------------+
| 1 | Verifying fastlane version | 0 |
| 2 | default_platform | 0 |
| 3 | Switch to upload_crashlytics lane | 0 |
| 💥 | crashlytics | 0 |
+------+-----------------------------------+-------------+
[11:47:10]: fastlane finished with errors
[!] Error fetching remote file: Connection reset by peer - SSL_connect
)
Upload to Fabric is display error, I expected without errors.
I am using fastlane to upload apks to google play beta track. I have multiple apks for different countries with different package names.
A few days ago, it failed to upload one of my apk.
Fastlane log:
[13:54:31]: WARNING: fastlane requires your locale to be set to UTF-8. To learn more go to https://docs.fastlane.tools/getting-started/ios/setup/#set-up-environment-variables
DEBUG [2018-10-16 13:54:31.49]: Checking if there are any plugins that should be loaded...
Successfully loaded Appfile at path '/Users/XXX/XXX-android/fastlane/Appfile'
- json_key_file: './fastlane/Google Play Android Developer-XXX.json'
-------
Successfully loaded Appfile at path '/Users/XXX/XXX-android/fastlane/Appfile'
- json_key_file: './fastlane/Google Play Android Developer-XXX.json'
-------
DEBUG [2018-10-16 13:54:31.68]: Using country: XXX
DEBUG [2018-10-16 13:54:31.68]: Using track: beta
DEBUG [2018-10-16 13:54:31.68]: Using rollout: 0.1
DEBUG [2018-10-16 13:54:31.68]: Using skip_upload_apk: false
DEBUG [2018-10-16 13:54:31.68]: Using skip_upload_metadata: true
DEBUG [2018-10-16 13:54:31.68]: Using skip_upload_images: true
DEBUG [2018-10-16 13:54:31.68]: Using skip_upload_screenshots: true
DEBUG [2018-10-16 13:54:31.68]: Using skip_upload_aab: true
DEBUG [2018-10-16 13:54:31.68]: Using validate_only: true
DEBUG [2018-10-16 13:54:31.68]: Using check_superseded_tracks: false
DEBUG [2018-10-16 13:54:31.68]: Using run_on_ci: true
INFO [2018-10-16 13:54:31.69]: ----------------------------------------
INFO [2018-10-16 13:54:31.69]: --- Step: Verifying fastlane version ---
INFO [2018-10-16 13:54:31.69]: ----------------------------------------
INFO [2018-10-16 13:54:31.69]: Your fastlane version 2.106.2 matches the minimum requirement of 2.66.0 ✅
INFO [2018-10-16 13:54:31.69]: ------------------------------
INFO [2018-10-16 13:54:31.69]: --- Step: default_platform ---
INFO [2018-10-16 13:54:31.69]: ------------------------------
INFO [2018-10-16 13:54:31.69]: Driving the lane 'android Submit_One' 🚀
INFO [2018-10-16 13:54:31.70]: --------------------
INFO [2018-10-16 13:54:31.70]: --- Step: supply ---
INFO [2018-10-16 13:54:31.70]: --------------------
Successfully loaded Appfile at path '/Users/XXX/XXX-android/fastlane/Appfile'
- json_key_file: './fastlane/Google Play Android Developer-XXX.json'
-------
Successfully loaded Appfile at path '/Users/XXX/XXX-android/fastlane/Appfile'
- json_key_file: './fastlane/Google Play Android Developer-XXX.json'
-------
Successfully loaded Appfile at path '/Users/XXX/XXX-android/fastlane/Appfile'
- json_key_file: './fastlane/Google Play Android Developer-XXX.json'
-------
Successfully loaded Appfile at path '/Users/XXX/XXX-android/fastlane/Appfile'
- json_key_file: './fastlane/Google Play Android Developer-XXX.json'
-------
Successfully loaded Appfile at path '/Users/XXX/XXX-android/fastlane/Appfile'
- json_key_file: './fastlane/Google Play Android Developer-XXX.json'
-------
+-------------------------+------------------------------------------------------------+
| Summary for supply 2.106.2 |
+-------------------------+------------------------------------------------------------+
| track | beta |
| skip_upload_apk | false |
| skip_upload_metadata | true |
| skip_upload_images | true |
| skip_upload_screenshots | true |
| skip_upload_aab | true |
| rollout | 0.1 |
| validate_only | true |
| check_superseded_tracks | false |
| package_name | com.XXX.XXX |
| metadata_path | ./fastlane/metadata/android/XXX |
| json_key | ./fastlane/Google Play Android Developer-XXX.json |
| timeout | 300 |
| deactivate_on_promote | true |
+-------------------------+------------------------------------------------------------+
DEBUG [2018-10-16 13:54:32.24]: Fetching a new access token from Google...
INFO [2018-10-16 13:54:36.81]: Preparing to upload for language 'it-IT'...
INFO [2018-10-16 13:54:37.28]: Validating all changes with Google Play...
WARN [2018-10-16 13:54:39.93]: Lane Context:
INFO [2018-10-16 13:54:39.93]: {:DEFAULT_PLATFORM=>:android, :PLATFORM_NAME=>:android, :LANE_NAME=>"android Submit_One"}
ERROR [2018-10-16 13:54:39.93]: Google Api Error: releaseToHaltNotFound: Cannot halt release, no matching in progress release found.
INFO [2018-10-16 13:54:39.93]: Successfully generated documentation at path '/Users/XXX/XXX-android/fastlane/README.md'
+------+----------------------------+-------------+
| fastlane summary |
+------+----------------------------+-------------+
| Step | Action | Time (in s) |
+------+----------------------------+-------------+
| 1 | Verifying fastlane version | 0 |
| 2 | default_platform | 0 |
| 💥 | supply | 8 |
+------+----------------------------+-------------+
ERROR [2018-10-16 13:54:39.94]: fastlane finished with errors
bundler: failed to load command: fastlane (/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/bin/fastlane)
FastlaneCore::Interface::FastlaneError: [!] Google Api Error: releaseToHaltNotFound: Cannot halt release, no matching in progress release found.
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane_core/lib/fastlane_core/ui/interface.rb:141:in `user_error!'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/supply/lib/supply/client.rb:398:in `rescue in call_google_api'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/supply/lib/supply/client.rb:395:in `call_google_api'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/supply/lib/supply/client.rb:111:in `validate_current_edit!'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/supply/lib/supply/uploader.rb:39:in `perform_upload'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/actions/upload_to_play_store.rb:33:in `run'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/runner.rb:253:in `block (2 levels) in execute_action'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/runner.rb:232:in `block in execute_action'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/runner.rb:227:in `chdir'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/runner.rb:227:in `execute_action'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/fast_file.rb:149:in `method_missing'
Fastfile:84:in `block (2 levels) in parsing_binding'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/lane.rb:33:in `call'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/runner.rb:45:in `chdir'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/runner.rb:45:in `execute'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/lane_manager.rb:56:in `cruise_lane'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/commands_generator.rb:333:in `run'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/fastlane/lib/fastlane/cli_tools_distributor.rb:108:in `take_off'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/gems/fastlane-2.106.2/bin/fastlane:23:in `<top (required)>'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/bin/fastlane:22:in `load'
/Users/XXX/XXX-android/vendor/bundle/ruby/2.3.0/bin/fastlane:22:in `<top (required)>'
ERROR [2018-10-16 13:54:39.94]: WARNING: fastlane requires your locale to be set to UTF-8. To learn more go to https://docs.fastlane.tools/getting-started/ios/setup/#set-up-environment-variables
I have multiple packages. Only one has such issue.
I manually upload apk to beta track on google console. It works fine.
I use following command:
supply(
track: options[:track],
skip_upload_apk: options[:skip_upload_apk],
skip_upload_metadata: options[:skip_upload_metadata],
skip_upload_images: options[:skip_upload_images],
skip_upload_screenshots: options[:skip_upload_screenshots],
skip_upload_aab: options[:skip_upload_aab],
rollout: options[:rollout],
validate_only: options[:validate_only],
check_superseded_tracks: options[:check_superseded_tracks],
package_name: package_name,
metadata_path: metadata_path,
apk: apk
)