Gitlab-ci.yml ci with react-native android

When I’m trying to use fastlane to release the apk it is giving another type of error

FASTFILE:

platform :android do
desc “Build the APK”
lane :build do
gradle(task: “clean”, project_dir: “android”)
gradle(task: “assembleStagingRelease”, project_dir: “android”)
end

ERROR:
[

[3522](o.220.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing’

3523 from Fastfile:7:in `block (2 levels) in parsing_binding’

3524 from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/lane.rb:41:in `call’

3525 from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/fastlane/lib/fastlab:49:in `block in execute’

3533 from /var/lib/gems/3.0.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command’

3535 from /var/lib/gems/3.0.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!’

3537 from /var/lib/gems/3.0.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/commands_generator.rb:43:in `start’

3541 from /usr/local/bin/fastlane:25:in `’