fastlane / fastlane

🚀 The easiest way to automate building and releasing your iOS and Android apps

Home Page:https://fastlane.tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fastlane android build failed (`block (2 levels) in parsing_binding')

radtki opened this issue · comments

New Issue Checklist

Issue Description

Unzipping /home/runner/.gradle/wrapper/dists/gradle-7.4.2-all/9uukhhbclvbegdvsww0j0cr3p/gradle-7.4.2-all.zip to /home/runner/.gradle/wrapper/dists/gradle-7.4.2-all/9uukhhbclvbegdvsww0j0cr3p
Set executable permissions for: /home/runner/.gradle/wrapper/dists/gradle-7.4.2-all/9uukhhbclvbegdvsww0j0cr3p/gradle-7.4.2/bin/gradle

Welcome to Gradle 7.4.2!

Here are the highlights of this release:

  • Aggregated test and JaCoCo reports
  • Marking additional test source directories as tests in IntelliJ
  • Support for Adoptium JDKs in Java toolchains

For more details see https://docs.gradle.org/7.4.2/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

  • Where:
    Settings file '/home/runner/work/xxx/xxx/android/settings.gradle' line: 6

  • What went wrong:
    A problem occurred evaluating settings 'android'.

assert localPropertiesFile.exists()
| |
| false
/home/runner/work/xxx/xxx/android/local.properties

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 9s
\e[0m
from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in method_missing' from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/helper/sh_helper.rb:80:in sh_control_output'
from /opt/hostedtoolcache/Ruby/3.1.2/x64/lib/ruby/3.1.0/forwardable.rb:238:in sh' from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/helper/gradle_helper.rb:32:in trigger'
from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/actions/gradle.rb:60:in run' from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action'
from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action' from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/runner.rb:255:in block in execute_action'
from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/runner.rb:229:in chdir' from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/runner.rb:229:in execute_action'
from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name' from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/fast_file.rb:159:in method_missing'
from Fastfile:22:in block (2 levels) in parsing_binding' from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/lane.rb:33:in call'
from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/runner.rb:49:in block in execute' from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/runner.rb:45:in chdir'
from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/runner.rb:45:in execute' from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane'
from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/command_line_handler.rb:36:in handle' from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/commands_generator.rb:110:in block (2 levels) in run'
from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/commander-4.6.0/lib/commander/command.rb:187:in call' from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/commander-4.6.0/lib/commander/command.rb:157:in run'
from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command' from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in run!'
from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!' from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/commands_generator.rb:354:in run'
from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/commands_generator.rb:43:in start' from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in take_off'
from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/gems/fastlane-2.206.0/bin/fastlane:23:in <top (required)>' from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/bin/fastlane:25:in load'
from /home/runner/work/11transfair_mobile/11transfair_mobile/android/vendor/bundle/ruby/3.1.0/bin/fastlane:25:in <top (required)>' from /opt/hostedtoolcache/Ruby/3.1.2/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in load'
from /opt/hostedtoolcache/Ruby/3.1.2/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:58:in kernel_load' from /opt/hostedtoolcache/Ruby/3.1.2/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:23:in run'
from /opt/hostedtoolcache/Ruby/3.1.2/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/cli.rb:483:in exec' from /opt/hostedtoolcache/Ruby/3.1.2/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run'
from /opt/hostedtoolcache/Ruby/3.1.2/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command' from /opt/hostedtoolcache/Ruby/3.1.2/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor.rb:392:in dispatch'
from /opt/hostedtoolcache/Ruby/3.1.2/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/cli.rb:31:in dispatch' from /opt/hostedtoolcache/Ruby/3.1.2/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in start'
from /opt/hostedtoolcache/Ruby/3.1.2/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/cli.rb:25:in start' from /opt/hostedtoolcache/Ruby/3.1.2/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.13/exe/bundle:48:in block in <top (required)>'
from /opt/hostedtoolcache/Ruby/3.1.2/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/friendly_errors.rb:103:in with_friendly_errors' from /opt/hostedtoolcache/Ruby/3.1.2/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.13/exe/bundle:36:in <top (required)>'
from /opt/hostedtoolcache/Ruby/3.1.2/x64/bin/bundle:25:in load' from /opt/hostedtoolcache/Ruby/3.1.2/x64/bin/bundle:25:in

'
Error: Process completed with exit code 1.

Command executed

platform :android do
lane :build do
flutter_build_increment()
gradle(
task: "assemble",
build_type: "Release",
project_dir: "/home/runner/work/11transfair_mobile/11transfair_mobile/android/"
)
end

Complete output when running fastlane, including the stack trace and command used
 [REPLACE THIS WITH YOUR INFORMATION] 

Environment

[07:56:48]: Generating fastlane environment output, this might take a few seconds...
[07:56:49]: ▸

fastlane environment
[07:56:49]: ▸ ### Stack
[07:56:49]: ▸ | Key | Value |
[07:56:49]: ▸ | --------------------------- | ------------------------------------------------------------------------------------------ |
[07:56:49]: ▸ | OS | debian_based bullseye/sid |
[07:56:49]: ▸ | Ruby | 3.1.2 |
[07:56:49]: ▸ | Bundler? | true |
[07:56:49]: ▸ | Git | git version 2.36.1 |
[07:56:49]: ▸ | Installation Source | ~/work/xxx/xxx/android/vendor/bundle/ruby/3.1.0/bin/fastlane |
[07:56:49]: ▸ | Host | Ubuntu 20.04.4 LTS debian_based bullseye/sid (5.13.0-1022-azure) |
[07:56:49]: ▸ | Ruby Lib Dir | /opt/hostedtoolcache/Ruby/3.1.2/x64/lib |
[07:56:49]: ▸ | OpenSSL Version | OpenSSL 1.1.1f 31 Mar 2020 |
[07:56:49]: ▸ | Is contained | false |
[07:56:49]: ▸ | Is homebrew | false |
[07:56:49]: ▸ | Is installed via Fabric.app | false |
[07:56:49]: ▸ ### System Locale
[07:56:49]: ▸ | Variable | Value | |
[07:56:49]: ▸ | -------- | ------- | - |
[07:56:49]: ▸ | LANG | C.UTF-8 | |
[07:56:49]: ▸ | LC_ALL | | |
[07:56:49]: ▸ | LANGUAGE | | |
[07:56:49]: ▸ ### fastlane files:
[07:56:49]: ▸
./Fastfile
[07:56:49]: ▸ ruby [07:56:49]: ▸ # Add opt_out_usage at the top of your Fastfile to disable metrics collection. [07:56:49]: ▸ opt_out_usage [07:56:49]: ▸ default_platform(:android) [07:56:49]: ▸ lane :apply_version do [07:56:49]: ▸ flutter_version_manager( [07:56:49]: ▸ arguments: "-apply", [07:56:49]: ▸ yml: "../version.yml", [07:56:49]: ▸ pubspec: "../pubspec.yaml", [07:56:49]: ▸ git_repo: "../" [07:56:49]: ▸ ) [07:56:49]: ▸ end [07:56:49]: ▸ platform :android do [07:56:49]: ▸ lane :build do [07:56:49]: ▸ flutter_build_increment() [07:56:49]: ▸ sh("fastlane env") [07:56:49]: ▸ #sh("flutter build appbundle --release") [07:56:49]: ▸ #sh("flutter", "build", "appbundle", "--release") [07:56:49]: ▸ # apply_version() [07:56:49]: ▸ gradle( [07:56:49]: ▸ task: "assemble", [07:56:49]: ▸ build_type: "Release", [07:56:49]: ▸ project_dir: "/home/runner/work/xxx/xxx/android/" [07:56:49]: ▸ ) [07:56:49]: ▸ end [07:56:49]: ▸ lane :beta do [07:56:49]: ▸ upload_to_play_store( [07:56:49]: ▸ track: 'internal', [07:56:49]: ▸ aab: '../build/app/outputs/bundle/release/app-release.aab', [07:56:49]: ▸ skip_upload_metadata: true, [07:56:49]: ▸ skip_upload_changelogs: true [07:56:49]: ▸ ) [07:56:49]: ▸ end [07:56:49]: ▸ end [07:56:49]: ▸
[07:56:49]: ▸

[07:56:49]: ▸
./Appfile
[07:56:49]: ▸ ruby [07:56:49]: ▸ json_key_file("key.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one [07:56:49]: ▸ package_name("com.ElevenTransFair.ElevenTransFair") # e.g. com.krausefx.app [07:56:49]: ▸
[07:56:49]: ▸

[07:56:49]: ▸ ### fastlane gems
[07:56:49]: ▸ | Gem | Version | Update-Status |
[07:56:49]: ▸ | -------- | ------- | ------------- |
[07:56:49]: ▸ | fastlane | 2.206.0 | Up-To-Date |
[07:56:49]: ▸ ### Loaded fastlane plugins:
[07:56:49]: ▸ | Plugin | Version | Update-Status |
[07:56:49]: ▸ | --------------------------------------- | ------- | ------------- |
[07:56:49]: ▸ | fastlane-plugin-flutter_version_manager | 1.0.0 | Up-To-Date |
[07:56:49]: ▸ | fastlane-plugin-flutter_version | 1.1.15 | Up-To-Date |
[07:56:49]: ▸ | fastlane-plugin-flutter_build_increment | 0.1.1 | Up-To-Date |
[07:56:49]: ▸ | fastlane-plugin-flutter_build | 0.1.6 | Up-To-Date |
[07:56:49]: ▸
Loaded gems
[07:56:49]: ▸ | Gem | Version |
[07:56:49]: ▸ | --------------------------------------- | ------------ |
[07:56:49]: ▸ | error_highlight | 0.3.0 |
[07:56:49]: ▸ | did_you_mean | 1.6.1 |
[07:56:49]: ▸ | pathname | 0.2.0 |
[07:56:49]: ▸ | rake | 13.0.6 |
[07:56:49]: ▸ | rexml | 3.2.5 |
[07:56:49]: ▸ | CFPropertyList | 3.0.5 |
[07:56:49]: ▸ | public_suffix | 4.0.7 |
[07:56:49]: ▸ | addressable | 2.8.0 |
[07:56:49]: ▸ | artifactory | 3.0.15 |
[07:56:49]: ▸ | atomos | 0.1.3 |
[07:56:49]: ▸ | aws-eventstream | 1.2.0 |
[07:56:49]: ▸ | aws-partitions | 1.587.0 |
[07:56:49]: ▸ | aws-sigv4 | 1.5.0 |
[07:56:49]: ▸ | jmespath | 1.6.1 |
[07:56:49]: ▸ | aws-sdk-core | 3.131.0 |
[07:56:49]: ▸ | aws-sdk-kms | 1.57.0 |
[07:56:49]: ▸ | aws-sdk-s3 | 1.114.0 |
[07:56:49]: ▸ | babosa | 1.0.4 |
[07:56:49]: ▸ | bundler | 2.3.13 |
[07:56:49]: ▸ | claide | 1.1.0 |
[07:56:49]: ▸ | colored | 1.2 |
[07:56:49]: ▸ | colored2 | 3.1.2 |
[07:56:49]: ▸ | highline | 2.0.3 |
[07:56:49]: ▸ | commander | 4.6.0 |
[07:56:49]: ▸ | declarative | 0.0.20 |
[07:56:49]: ▸ | digest-crc | 0.6.4 |
[07:56:49]: ▸ | unf_ext | 0.0.8.1 |
[07:56:49]: ▸ | unf | 0.1.4 |
[07:56:49]: ▸ | domain_name | 0.5.20190701 |
[07:56:49]: ▸ | dotenv | 2.7.6 |
[07:56:49]: ▸ | emoji_regex | 3.2.3 |
[07:56:49]: ▸ | excon | 0.92.3 |
[07:56:49]: ▸ | faraday-em_http | 1.0.0 |
[07:56:49]: ▸ | faraday-em_synchrony | 1.0.0 |
[07:56:49]: ▸ | faraday-excon | 1.1.0 |
[07:56:49]: ▸ | faraday-httpclient | 1.0.1 |
[07:56:49]: ▸ | multipart-post | 2.0.0 |
[07:56:49]: ▸ | faraday-multipart | 1.0.3 |
[07:56:49]: ▸ | faraday-net_http | 1.0.1 |
[07:56:49]: ▸ | faraday-net_http_persistent | 1.2.0 |
[07:56:49]: ▸ | faraday-patron | 1.0.0 |
[07:56:49]: ▸ | faraday-rack | 1.0.0 |
[07:56:49]: ▸ | faraday-retry | 1.0.3 |
[07:56:49]: ▸ | ruby2_keywords | 0.0.5 |
[07:56:49]: ▸ | faraday | 1.10.0 |
[07:56:49]: ▸ | http-cookie | 1.0.4 |
[07:56:49]: ▸ | faraday-cookie_jar | 0.0.7 |
[07:56:49]: ▸ | faraday_middleware | 1.2.0 |
[07:56:49]: ▸ | fastimage | 2.2.6 |
[07:56:49]: ▸ | gh_inspector | 1.1.3 |
[07:56:49]: ▸ | jwt | 2.3.0 |
[07:56:49]: ▸ | memoist | 0.16.2 |
[07:56:49]: ▸ | multi_json | 1.15.0 |
[07:56:49]: ▸ | os | 1.1.4 |
[07:56:49]: ▸ | signet | 0.16.1 |
[07:56:49]: ▸ | googleauth | 1.1.3 |
[07:56:49]: ▸ | httpclient | 2.8.3 |
[07:56:49]: ▸ | mini_mime | 1.1.2 |
[07:56:49]: ▸ | trailblazer-option | 0.1.2 |
[07:56:49]: ▸ | uber | 0.1.0 |
[07:56:49]: ▸ | representable | 3.2.0 |
[07:56:49]: ▸ | retriable | 3.1.2 |
[07:56:49]: ▸ | webrick | 1.7.0 |
[07:56:49]: ▸ | google-apis-core | 0.5.0 |
[07:56:49]: ▸ | google-apis-androidpublisher_v3 | 0.21.0 |
[07:56:49]: ▸ | google-apis-playcustomapp_v1 | 0.7.0 |
[07:56:49]: ▸ | google-apis-iamcredentials_v1 | 0.10.0 |
[07:56:49]: ▸ | google-apis-storage_v1 | 0.14.0 |
[07:56:49]: ▸ | google-cloud-env | 1.6.0 |
[07:56:49]: ▸ | google-cloud-errors | 1.2.0 |
[07:56:49]: ▸ | google-cloud-core | 1.6.0 |
[07:56:49]: ▸ | google-cloud-storage | 1.36.2 |
[07:56:49]: ▸ | json | 2.6.2 |
[07:56:49]: ▸ | mini_magick | 4.11.0 |
[07:56:49]: ▸ | naturally | 2.2.1 |
[07:56:49]: ▸ | optparse | 0.1.1 |
[07:56:49]: ▸ | plist | 3.6.0 |
[07:56:49]: ▸ | rubyzip | 2.3.2 |
[07:56:49]: ▸ | security | 0.1.3 |
[07:56:49]: ▸ | simctl | 1.6.8 |
[07:56:49]: ▸ | terminal-notifier | 2.0.0 |
[07:56:49]: ▸ | unicode-display_width | 1.8.0 |
[07:56:49]: ▸ | terminal-table | 1.8.0 |
[07:56:49]: ▸ | tty-screen | 0.8.1 |
[07:56:49]: ▸ | tty-cursor | 0.7.1 |
[07:56:49]: ▸ | tty-spinner | 0.9.3 |
[07:56:49]: ▸ | word_wrap | 1.0.0 |
[07:56:49]: ▸ | nanaimo | 0.3.0 |
[07:56:49]: ▸ | xcodeproj | 1.21.0 |
[07:56:49]: ▸ | rouge | 2.0.7 |
[07:56:49]: ▸ | xcpretty | 0.3.0 |
[07:56:49]: ▸ | xcpretty-travis-formatter | 1.0.1 |
[07:56:49]: ▸ | fastlane-plugin-flutter_build | 0.1.6 |
[07:56:49]: ▸ | fastlane-plugin-flutter_build_increment | 0.1.1 |
[07:56:49]: ▸ | fastlane-plugin-flutter_version | 1.1.15 |
[07:56:49]: ▸ | fastlane-plugin-flutter_version_manager | 1.0.0 |
[07:56:49]: ▸ | ffi | 1.15.5 |
[07:56:49]: ▸ | rchardet | 1.8.0 |
[07:56:49]: ▸ | git | 1.11.0 |
[07:56:49]: ▸

[07:56:49]: ▸ generated on: 2022-05-18

 [REPLACE THIS WITH YOUR INFORMATION] 
ezoic increase your site revenue