Skip to content

flutter_localizations not working after installing v3.29 #163248

@MominRaza

Description

@MominRaza

Steps to reproduce

  • I have updated flutter to v3.29 and flutter_localizations not working in github action.
  • In local I deleted old generated translation files, and running flutter pub get not generating translation files but flutter run generating translation files.

Expected results

should generate translation files

Actual results

not generating translation files

Run flutter analyze --fatal-infos
Analyzing apnapan...                                            

  error • Target of URI doesn't exist: 'generated/app_localizations.dart' • lib/l10n/l10n.dart:3:8 • uri_does_not_exist
  error • Undefined class 'AppLocalizations' • lib/l10n/l10n.dart:6:3 • undefined_class
  error • Undefined name 'AppLocalizations' • lib/l10n/l10n.dart:6:32 • undefined_identifier
  error • Target of URI doesn't exist: 'l10n/generated/app_localizations.dart' • lib/my_app.dart:9:8 • uri_does_not_exist
  error • Undefined name 'AppLocalizations' • lib/my_app.dart:82:29 • undefined_identifier
  error • Undefined name 'AppLocalizations' • lib/my_app.dart:83:35 • undefined_identifier
   info • Statements in an if should be enclosed in a block • lib/search/search_screen.dart:180:4[7](https://github.com/MominRaza/apnapan/actions/runs/13315005521/job/37186735655#step:7:8) • curly_braces_in_flow_control_structures
  error • Target of URI doesn't exist: 'package:apnapan/l10n/generated/app_localizations.dart' • test/my_scaffold.dart:1:[8](https://github.com/MominRaza/apnapan/actions/runs/13315005521/job/37186735655#step:7:9) • uri_does_not_exist
  error • Undefined name 'AppLocalizations' • test/my_scaffold.dart:61:25 • undefined_identifier
  error • Undefined name 'AppLocalizations' • test/my_scaffold.dart:62:31 • undefined_identifier

[10](https://github.com/MominRaza/apnapan/actions/runs/13315005521/job/37186735655#step:7:11) issues found. (ran in 36.2s)

Code sample

l10n.yaml
arb-dir: lib/l10n
template-arb-file: app_en.arb
output-localization-file: app_localizations.dart
synthetic-package: false
output-dir: lib/l10n/generated
format: true
Github Action
name: Lint and Test

on:
    push:
      branches: [ "master" ]
    pull_request:
      branches: [ "master" ]

jobs:
  lint:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
      - uses: subosito/flutter-action@v2
        with:
          channel: stable
      - run: flutter pub get
      - run: dart run build_runner build

      - name: Verify formatting
        run: dart format --output=none --set-exit-if-changed .

      - name: Analyze project source
        run: flutter analyze --fatal-infos

      - name: Run custom lint
        run: dart run custom_lint

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Github Action Logs
2025-02-13T18:55:56.8455819Z Current runner version: '2.322.0'
2025-02-13T18:55:56.8481940Z ##[group]Operating System
2025-02-13T18:55:56.8482734Z Ubuntu
2025-02-13T18:55:56.8483369Z 24.04.1
2025-02-13T18:55:56.8483871Z LTS
2025-02-13T18:55:56.8484367Z ##[endgroup]
2025-02-13T18:55:56.8485004Z ##[group]Runner Image
2025-02-13T18:55:56.8485643Z Image: ubuntu-24.04
2025-02-13T18:55:56.8486166Z Version: 20250209.1.0
2025-02-13T18:55:56.8487234Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20250209.1/images/ubuntu/Ubuntu2404-Readme.md
2025-02-13T18:55:56.8488628Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250209.1
2025-02-13T18:55:56.8489533Z ##[endgroup]
2025-02-13T18:55:56.8490320Z ##[group]Runner Image Provisioner
2025-02-13T18:55:56.8490947Z 2.0.422.1
2025-02-13T18:55:56.8491495Z ##[endgroup]
2025-02-13T18:55:56.8493732Z ##[group]GITHUB_TOKEN Permissions
2025-02-13T18:55:56.8496063Z Actions: write
2025-02-13T18:55:56.8496937Z Attestations: write
2025-02-13T18:55:56.8497614Z Checks: write
2025-02-13T18:55:56.8498157Z Contents: write
2025-02-13T18:55:56.8498714Z Deployments: write
2025-02-13T18:55:56.8499293Z Discussions: write
2025-02-13T18:55:56.8499819Z Issues: write
2025-02-13T18:55:56.8500626Z Metadata: read
2025-02-13T18:55:56.8501244Z Packages: write
2025-02-13T18:55:56.8501804Z Pages: write
2025-02-13T18:55:56.8502307Z PullRequests: write
2025-02-13T18:55:56.8502928Z RepositoryProjects: write
2025-02-13T18:55:56.8503500Z SecurityEvents: write
2025-02-13T18:55:56.8504037Z Statuses: write
2025-02-13T18:55:56.8504607Z ##[endgroup]
2025-02-13T18:55:56.8507752Z Secret source: Actions
2025-02-13T18:55:56.8508785Z Prepare workflow directory
2025-02-13T18:55:56.8826998Z Prepare all required actions
2025-02-13T18:55:56.8869138Z Getting action download info
2025-02-13T18:55:57.1887756Z ##[group]Download immutable action package 'actions/checkout@v4'
2025-02-13T18:55:57.1888788Z Version: 4.2.2
2025-02-13T18:55:57.1890106Z Digest: sha256:ccb2698953eaebd21c7bf6268a94f9c26518a7e38e27e0b83c1fe1ad049819b1
2025-02-13T18:55:57.1891346Z Source commit SHA: 11bd71901bbe5b1630ceea73d27597364c9af683
2025-02-13T18:55:57.1892175Z ##[endgroup]
2025-02-13T18:55:57.2770460Z Download action repository 'subosito/flutter-action@v2' (SHA:44ac965b96f18d999802d4b807e3256d5a3f9fa1)
2025-02-13T18:55:57.7479134Z Getting action download info
2025-02-13T18:55:57.9331827Z ##[group]Download immutable action package 'actions/cache@v4'
2025-02-13T18:55:57.9332742Z Version: 4.2.0
2025-02-13T18:55:57.9333599Z Digest: sha256:5bc11090595acbf82dbfb02747bf0bfd91544e869357fd3ac0eb41f509632110
2025-02-13T18:55:57.9334770Z Source commit SHA: 1bd1e32a3bdc45362d1e726936510720a7c30a57
2025-02-13T18:55:57.9335572Z ##[endgroup]
2025-02-13T18:55:58.1190863Z Complete job name: lint
2025-02-13T18:55:58.2022881Z ##[group]Run actions/checkout@v4
2025-02-13T18:55:58.2024264Z with:
2025-02-13T18:55:58.2025087Z   repository: MominRaza/apnapan
2025-02-13T18:55:58.2026349Z   token: ***
2025-02-13T18:55:58.2027167Z   ssh-strict: true
2025-02-13T18:55:58.2028056Z   ssh-user: git
2025-02-13T18:55:58.2028924Z   persist-credentials: true
2025-02-13T18:55:58.2029884Z   clean: true
2025-02-13T18:55:58.2030942Z   sparse-checkout-cone-mode: true
2025-02-13T18:55:58.2031997Z   fetch-depth: 1
2025-02-13T18:55:58.2032836Z   fetch-tags: false
2025-02-13T18:55:58.2033710Z   show-progress: true
2025-02-13T18:55:58.2034573Z   lfs: false
2025-02-13T18:55:58.2035362Z   submodules: false
2025-02-13T18:55:58.2036221Z   set-safe-directory: true
2025-02-13T18:55:58.2037407Z ##[endgroup]
2025-02-13T18:55:58.4834503Z Syncing repository: MominRaza/apnapan
2025-02-13T18:55:58.4837188Z ##[group]Getting Git version info
2025-02-13T18:55:58.4839244Z Working directory is '/home/runner/work/apnapan/apnapan'
2025-02-13T18:55:58.4843240Z [command]/usr/bin/git version
2025-02-13T18:55:58.4895347Z git version 2.48.1
2025-02-13T18:55:58.4929387Z ##[endgroup]
2025-02-13T18:55:58.4947193Z Temporarily overriding HOME='/home/runner/work/_temp/b4679322-d54f-4e8a-a46c-83f094c5008e' before making global git config changes
2025-02-13T18:55:58.4958206Z Adding repository directory to the temporary git global config as a safe directory
2025-02-13T18:55:58.4965605Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/apnapan/apnapan
2025-02-13T18:55:58.5015108Z Deleting the contents of '/home/runner/work/apnapan/apnapan'
2025-02-13T18:55:58.5023749Z ##[group]Initializing the repository
2025-02-13T18:55:58.5030399Z [command]/usr/bin/git init /home/runner/work/apnapan/apnapan
2025-02-13T18:55:58.5123989Z hint: Using 'master' as the name for the initial branch. This default branch name
2025-02-13T18:55:58.5127048Z hint: is subject to change. To configure the initial branch name to use in all
2025-02-13T18:55:58.5130759Z hint: of your new repositories, which will suppress this warning, call:
2025-02-13T18:55:58.5132984Z hint:
2025-02-13T18:55:58.5134408Z hint: 	git config --global init.defaultBranch <name>
2025-02-13T18:55:58.5136325Z hint:
2025-02-13T18:55:58.5138202Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2025-02-13T18:55:58.5146095Z hint: 'development'. The just-created branch can be renamed via this command:
2025-02-13T18:55:58.5148514Z hint:
2025-02-13T18:55:58.5152824Z hint: 	git branch -m <name>
2025-02-13T18:55:58.5155042Z Initialized empty Git repository in /home/runner/work/apnapan/apnapan/.git/
2025-02-13T18:55:58.5159858Z [command]/usr/bin/git remote add origin https://github.com/MominRaza/apnapan
2025-02-13T18:55:58.5203447Z ##[endgroup]
2025-02-13T18:55:58.5205684Z ##[group]Disabling automatic garbage collection
2025-02-13T18:55:58.5207687Z [command]/usr/bin/git config --local gc.auto 0
2025-02-13T18:55:58.5245632Z ##[endgroup]
2025-02-13T18:55:58.5247883Z ##[group]Setting up auth
2025-02-13T18:55:58.5250411Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2025-02-13T18:55:58.5285546Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2025-02-13T18:55:58.5674277Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2025-02-13T18:55:58.5713212Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2025-02-13T18:55:58.5967014Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2025-02-13T18:55:58.6008598Z ##[endgroup]
2025-02-13T18:55:58.6011988Z ##[group]Fetching the repository
2025-02-13T18:55:58.6032388Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +9cdb7f6567915286173155ec761367ace80919b0:refs/remotes/origin/master
2025-02-13T18:55:59.3210216Z From https://github.com/MominRaza/apnapan
2025-02-13T18:55:59.3212732Z  * [new ref]         9cdb7f6567915286173155ec761367ace80919b0 -> origin/master
2025-02-13T18:55:59.3217720Z ##[endgroup]
2025-02-13T18:55:59.3220152Z ##[group]Determining the checkout info
2025-02-13T18:55:59.3246622Z ##[endgroup]
2025-02-13T18:55:59.3248073Z [command]/usr/bin/git sparse-checkout disable
2025-02-13T18:55:59.3282432Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
2025-02-13T18:55:59.3312162Z ##[group]Checking out the ref
2025-02-13T18:55:59.3315855Z [command]/usr/bin/git checkout --progress --force -B master refs/remotes/origin/master
2025-02-13T18:55:59.3590576Z Reset branch 'master'
2025-02-13T18:55:59.3595253Z branch 'master' set up to track 'origin/master'.
2025-02-13T18:55:59.3603982Z ##[endgroup]
2025-02-13T18:55:59.3654748Z [command]/usr/bin/git log -1 --format=%H
2025-02-13T18:55:59.3681591Z 9cdb7f6567915286173155ec761367ace80919b0
2025-02-13T18:55:59.4136571Z ##[group]Run subosito/flutter-action@v2
2025-02-13T18:55:59.4137577Z with:
2025-02-13T18:55:59.4138261Z   channel: stable
2025-02-13T18:55:59.4139213Z   architecture: X64
2025-02-13T18:55:59.4140133Z   cache: false
2025-02-13T18:55:59.4140890Z   pub-cache-path: default
2025-02-13T18:55:59.4141715Z   dry-run: false
2025-02-13T18:55:59.4142435Z ##[endgroup]
2025-02-13T18:55:59.4244716Z ##[group]Run chmod +x "$GITHUB_ACTION_PATH/setup.sh"
2025-02-13T18:55:59.4246002Z �[36;1mchmod +x "$GITHUB_ACTION_PATH/setup.sh"�[0m
2025-02-13T18:55:59.4445821Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2025-02-13T18:55:59.4447097Z ##[endgroup]
2025-02-13T18:55:59.4695190Z ##[group]Run $GITHUB_ACTION_PATH/setup.sh -p \
2025-02-13T18:55:59.4696411Z �[36;1m$GITHUB_ACTION_PATH/setup.sh -p \�[0m
2025-02-13T18:55:59.4697394Z �[36;1m  -n '' \�[0m
2025-02-13T18:55:59.4698147Z �[36;1m  -f '' \�[0m
2025-02-13T18:55:59.4698946Z �[36;1m  -a 'X64' \�[0m
2025-02-13T18:55:59.4699775Z �[36;1m  -k '' \�[0m
2025-02-13T18:55:59.4700746Z �[36;1m  -c '' \�[0m
2025-02-13T18:55:59.4701492Z �[36;1m  -l '' \�[0m
2025-02-13T18:55:59.4702266Z �[36;1m  -d 'default' \�[0m
2025-02-13T18:55:59.4703119Z �[36;1m  stable�[0m
2025-02-13T18:55:59.4763934Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2025-02-13T18:55:59.4765092Z ##[endgroup]
2025-02-13T18:55:59.6539159Z ##[group]Run $GITHUB_ACTION_PATH/setup.sh \
2025-02-13T18:55:59.6540563Z �[36;1m$GITHUB_ACTION_PATH/setup.sh \�[0m
2025-02-13T18:55:59.6541598Z �[36;1m  -n '3.29.0' \�[0m
2025-02-13T18:55:59.6542439Z �[36;1m  -a 'x64' \�[0m
2025-02-13T18:55:59.6543504Z �[36;1m  -c '/opt/hostedtoolcache/flutter/stable-3.29.0-x64' \�[0m
2025-02-13T18:55:59.6544714Z �[36;1m  stable�[0m
2025-02-13T18:55:59.6608330Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2025-02-13T18:55:59.6609536Z ##[endgroup]
2025-02-13T18:55:59.8119724Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2025-02-13T18:55:59.8124276Z                                  Dload  Upload   Total   Spent    Left  Speed
2025-02-13T18:55:59.8125176Z 
2025-02-13T18:56:00.5425788Z   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
2025-02-13T18:56:01.5443647Z  11  731M   11 85.0M    0     0   116M      0  0:00:06 --:--:--  0:00:06  116M
2025-02-13T18:56:02.5428136Z  30  731M   30  223M    0     0   129M      0  0:00:05  0:00:01  0:00:04  129M
2025-02-13T18:56:03.5429890Z  47  731M   47  351M    0     0   128M      0  0:00:05  0:00:02  0:00:03  128M
2025-02-13T18:56:04.5424973Z  68  731M   68  501M    0     0   134M      0  0:00:05  0:00:03  0:00:02  134M
2025-02-13T18:56:04.8593971Z  92  731M   92  678M    0     0   143M      0  0:00:05  0:00:04  0:00:01  143M
2025-02-13T18:56:04.8607844Z 100  731M  100  731M    0     0   144M      0  0:00:05  0:00:05 --:--:--  149M
2025-02-13T18:56:37.8509592Z ##[group]Run flutter pub get
2025-02-13T18:56:37.8509937Z �[36;1mflutter pub get�[0m
2025-02-13T18:56:37.8571264Z shell: /usr/bin/bash -e {0}
2025-02-13T18:56:37.8571568Z env:
2025-02-13T18:56:37.8571879Z   FLUTTER_ROOT: /opt/hostedtoolcache/flutter/stable-3.29.0-x64
2025-02-13T18:56:37.8572300Z   PUB_CACHE: /home/runner/.pub-cache
2025-02-13T18:56:37.8572616Z ##[endgroup]
2025-02-13T18:56:38.1336900Z 
2025-02-13T18:56:38.1354606Z   ╔════════════════════════════════════════════════════════════════════════════╗
2025-02-13T18:56:38.1356949Z   ║                 Welcome to Flutter! - https://flutter.dev                  ║
2025-02-13T18:56:38.1357713Z   ║                                                                            ║
2025-02-13T18:56:38.1358484Z   ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║
2025-02-13T18:56:38.1359445Z   ║ statistics and basic crash reports. This data is used to help improve      ║
2025-02-13T18:56:38.1360765Z   ║ Flutter tools over time.                                                   ║
2025-02-13T18:56:38.1361540Z   ║                                                                            ║
2025-02-13T18:56:38.1362403Z   ║ Flutter tool analytics are not sent on the very first run. To disable      ║
2025-02-13T18:56:38.1363409Z   ║ reporting, type 'flutter config --no-analytics'. To display the current    ║
2025-02-13T18:56:38.1365154Z   ║ setting, type 'flutter config'. If you opt out of analytics, an opt-out    ║
2025-02-13T18:56:38.1366139Z   ║ event will be sent, and then no further information will be sent by the    ║
2025-02-13T18:56:38.1367054Z   ║ Flutter tool.                                                              ║
2025-02-13T18:56:38.1367798Z   ║                                                                            ║
2025-02-13T18:56:38.1368636Z   ║ By downloading the Flutter SDK, you agree to the Google Terms of Service.  ║
2025-02-13T18:56:38.1369657Z   ║ The Google Privacy Policy describes how data is handled in this service.   ║
2025-02-13T18:56:38.1370736Z   ║                                                                            ║
2025-02-13T18:56:38.1371559Z   ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and  ║
2025-02-13T18:56:38.1372532Z   ║ crash reports to Google.                                                   ║
2025-02-13T18:56:38.1373284Z   ║                                                                            ║
2025-02-13T18:56:38.1374044Z   ║ Read about data we send with crash reports:                                ║
2025-02-13T18:56:38.1375018Z   ║ https://flutter.dev/to/crash-reporting                                     ║
2025-02-13T18:56:38.1375818Z   ║                                                                            ║
2025-02-13T18:56:38.1376626Z   ║ See Google's privacy policy:                                               ║
2025-02-13T18:56:38.1377579Z   ║ https://policies.google.com/privacy                                        ║
2025-02-13T18:56:38.1378403Z   ║                                                                            ║
2025-02-13T18:56:38.1379160Z   ║ To disable animations in this tool, use                                    ║
2025-02-13T18:56:38.1380271Z   ║ 'flutter config --no-cli-animations'.                                      ║
2025-02-13T18:56:38.1381222Z   ╚════════════════════════════════════════════════════════════════════════════╝
2025-02-13T18:56:38.1381620Z 
2025-02-13T18:56:44.8127762Z Resolving dependencies...
2025-02-13T18:56:47.2163322Z Downloading packages...
2025-02-13T18:56:59.8218943Z   analyzer_plugin 0.12.0 (0.13.0 available)
2025-02-13T18:56:59.8220958Z   async 2.12.0 (2.13.0 available)
2025-02-13T18:56:59.8221486Z   fake_async 1.3.2 (1.3.3 available)
2025-02-13T18:56:59.8221932Z   intl 0.19.0 (0.20.2 available)
2025-02-13T18:56:59.8222368Z   leak_tracker 10.0.8 (10.0.9 available)
2025-02-13T18:56:59.8222887Z   material_color_utilities 0.11.1 (0.12.0 available)
2025-02-13T18:56:59.8223964Z   vm_service 14.3.1 (15.0.0 available)
2025-02-13T18:56:59.8224489Z   webdriver 3.0.4 (3.1.0 available)
2025-02-13T18:56:59.8224974Z   webview_flutter_wkwebview 3.18.0 (3.18.1 available)
2025-02-13T18:56:59.8234182Z Got dependencies!
2025-02-13T18:56:59.8260629Z 9 packages have newer versions incompatible with dependency constraints.
2025-02-13T18:56:59.8300610Z Try `flutter pub outdated` for more information.
2025-02-13T18:57:00.7185499Z ##[group]Run dart run build_runner build
2025-02-13T18:57:00.7186102Z �[36;1mdart run build_runner build�[0m
2025-02-13T18:57:00.7246744Z shell: /usr/bin/bash -e {0}
2025-02-13T18:57:00.7247014Z env:
2025-02-13T18:57:00.7247303Z   FLUTTER_ROOT: /opt/hostedtoolcache/flutter/stable-3.29.0-x64
2025-02-13T18:57:00.7247668Z   PUB_CACHE: /home/runner/.pub-cache
2025-02-13T18:57:00.7247928Z ##[endgroup]
2025-02-13T18:57:07.7151030Z [INFO] Generating build script...
2025-02-13T18:57:08.2445344Z [INFO] Generating build script completed, took 544ms
2025-02-13T18:57:08.2448085Z 
2025-02-13T18:57:08.3021447Z [INFO] Precompiling build script......
2025-02-13T18:57:14.5404143Z [INFO] Precompiling build script... completed, took 6.2s
2025-02-13T18:57:14.5406039Z 
2025-02-13T18:57:15.3617438Z [INFO] Initializing inputs
2025-02-13T18:57:16.1032321Z [INFO] Building new asset graph...
2025-02-13T18:57:18.0008909Z [INFO] Building new asset graph completed, took 1.9s
2025-02-13T18:57:18.0016887Z 
2025-02-13T18:57:18.0017708Z [INFO] Checking for unexpected pre-existing outputs....
2025-02-13T18:57:18.0030224Z [INFO] Checking for unexpected pre-existing outputs. completed, took 1ms
2025-02-13T18:57:18.0031437Z 
2025-02-13T18:57:18.0238115Z [INFO] Running build...
2025-02-13T18:57:18.0670520Z [INFO] Generating SDK summary...
2025-02-13T18:57:21.1005912Z [INFO] 3.1s elapsed, 0/16 actions completed.
2025-02-13T18:57:24.1256619Z [INFO] 6.1s elapsed, 0/16 actions completed.
2025-02-13T18:57:25.8175799Z [INFO] 7.8s elapsed, 0/16 actions completed.
2025-02-13T18:57:25.9045300Z [INFO] Generating SDK summary completed, took 7.8s
2025-02-13T18:57:25.9045931Z 
2025-02-13T18:57:26.9219194Z [INFO] 8.9s elapsed, 113/190 actions completed.
2025-02-13T18:57:27.9233190Z [INFO] 9.9s elapsed, 121/198 actions completed.
2025-02-13T18:57:28.9712776Z [INFO] 11.0s elapsed, 163/207 actions completed.
2025-02-13T18:57:30.0219540Z [INFO] 12.0s elapsed, 174/210 actions completed.
2025-02-13T18:57:31.0219795Z [INFO] 13.0s elapsed, 202/235 actions completed.
2025-02-13T18:57:43.0654758Z [INFO] 25.0s elapsed, 233/245 actions completed.
2025-02-13T18:57:44.1459000Z [INFO] 26.1s elapsed, 239/248 actions completed.
2025-02-13T18:57:50.8798404Z [INFO] 32.9s elapsed, 264/265 actions completed.
2025-02-13T18:57:51.9279669Z [INFO] 33.9s elapsed, 388/406 actions completed.
2025-02-13T18:57:53.0274056Z [INFO] 35.0s elapsed, 429/448 actions completed.
2025-02-13T18:57:54.0280921Z [INFO] 36.0s elapsed, 479/497 actions completed.
2025-02-13T18:57:55.0470257Z [INFO] 37.0s elapsed, 487/503 actions completed.
2025-02-13T18:57:55.4643090Z [INFO] Running build completed, took 37.4s
2025-02-13T18:57:55.4643487Z 
2025-02-13T18:57:55.4643663Z [INFO] Caching finalized dependency graph...
2025-02-13T18:57:55.8831283Z [INFO] Caching finalized dependency graph completed, took 419ms
2025-02-13T18:57:55.8843461Z 
2025-02-13T18:57:55.9572374Z [INFO] Succeeded after 37.9s with 199 outputs (819 actions)
2025-02-13T18:57:55.9584096Z 
2025-02-13T18:57:56.1216875Z ##[group]Run dart format --output=none --set-exit-if-changed .
2025-02-13T18:57:56.1217692Z �[36;1mdart format --output=none --set-exit-if-changed .�[0m
2025-02-13T18:57:56.1298871Z shell: /usr/bin/bash -e {0}
2025-02-13T18:57:56.1299301Z env:
2025-02-13T18:57:56.1299768Z   FLUTTER_ROOT: /opt/hostedtoolcache/flutter/stable-3.29.0-x64
2025-02-13T18:57:56.1300670Z   PUB_CACHE: /home/runner/.pub-cache
2025-02-13T18:57:56.1301117Z ##[endgroup]
2025-02-13T18:57:58.3006043Z Formatted 118 files (0 changed) in 2.07 seconds.
2025-02-13T18:57:58.3315118Z ##[group]Run flutter analyze --fatal-infos
2025-02-13T18:57:58.3315742Z �[36;1mflutter analyze --fatal-infos�[0m
2025-02-13T18:57:58.3397145Z shell: /usr/bin/bash -e {0}
2025-02-13T18:57:58.3397566Z env:
2025-02-13T18:57:58.3398027Z   FLUTTER_ROOT: /opt/hostedtoolcache/flutter/stable-3.29.0-x64
2025-02-13T18:57:58.3398641Z   PUB_CACHE: /home/runner/.pub-cache
2025-02-13T18:57:58.3399103Z ##[endgroup]
2025-02-13T18:58:35.9140543Z Analyzing apnapan...                                            
2025-02-13T18:58:35.9165480Z 
2025-02-13T18:58:35.9202615Z   error • Target of URI doesn't exist: 'generated/app_localizations.dart' • lib/l10n/l10n.dart:3:8 • uri_does_not_exist
2025-02-13T18:58:35.9208818Z   error • Undefined class 'AppLocalizations' • lib/l10n/l10n.dart:6:3 • undefined_class
2025-02-13T18:58:35.9209872Z   error • Undefined name 'AppLocalizations' • lib/l10n/l10n.dart:6:32 • undefined_identifier
2025-02-13T18:58:35.9221869Z   error • Target of URI doesn't exist: 'l10n/generated/app_localizations.dart' • lib/my_app.dart:9:8 • uri_does_not_exist
2025-02-13T18:58:35.9227908Z   error • Undefined name 'AppLocalizations' • lib/my_app.dart:82:29 • undefined_identifier
2025-02-13T18:58:35.9233909Z   error • Undefined name 'AppLocalizations' • lib/my_app.dart:83:35 • undefined_identifier
2025-02-13T18:58:35.9240332Z    info • Statements in an if should be enclosed in a block • lib/search/search_screen.dart:180:47 • curly_braces_in_flow_control_structures
2025-02-13T18:58:35.9249503Z   error • Target of URI doesn't exist: 'package:apnapan/l10n/generated/app_localizations.dart' • test/my_scaffold.dart:1:8 • uri_does_not_exist
2025-02-13T18:58:35.9258451Z   error • Undefined name 'AppLocalizations' • test/my_scaffold.dart:61:25 • undefined_identifier
2025-02-13T18:58:35.9259565Z   error • Undefined name 'AppLocalizations' • test/my_scaffold.dart:62:31 • undefined_identifier
2025-02-13T18:58:35.9269830Z 
2025-02-13T18:58:35.9452689Z 10 issues found. (ran in 36.2s)
2025-02-13T18:58:35.9631842Z ##[error]Process completed with exit code 1.
2025-02-13T18:58:36.0065466Z Post job cleanup.
2025-02-13T18:58:36.0300722Z Post job cleanup.
2025-02-13T18:58:36.2434620Z [command]/usr/bin/git version
2025-02-13T18:58:36.2501307Z git version 2.48.1
2025-02-13T18:58:36.2576107Z Temporarily overriding HOME='/home/runner/work/_temp/58d65cff-fbca-4a40-8356-5d7de17aff12' before making global git config changes
2025-02-13T18:58:36.2580896Z Adding repository directory to the temporary git global config as a safe directory
2025-02-13T18:58:36.2591341Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/apnapan/apnapan
2025-02-13T18:58:36.2656798Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2025-02-13T18:58:36.2737076Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2025-02-13T18:58:36.3824098Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2025-02-13T18:58:36.3892196Z http.https://github.com/.extraheader
2025-02-13T18:58:36.3936828Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2025-02-13T18:58:36.4051783Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2025-02-13T18:58:36.5064048Z Cleaning up orphan processes
2025-02-13T18:58:36.5443289Z Terminate orphan process: pid (2694) (dart:custom_lin)

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.29.0, on Microsoft Windows [Version 10.0.22631.4890], locale en-US) [1,177ms]
    • Flutter version 3.29.0 on channel stable at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 35c388afb5 (7 days ago), 2025-02-10 12:48:41 -0800
    • Engine revision f73bfc4522
    • Dart version 3.7.0
    • DevTools version 2.42.2

[✓] Windows Version (11 Enterprise 64-bit, 23H2, 2009) [4.2s]

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [3.4s]
    • Android SDK at C:\Users\jahmad4\AppData\Local\Android\Sdk
    • Platform android-35, build-tools 34.0.0
    • ANDROID_HOME = C:\Users\jahmad4\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
    • All Android licenses accepted.

[✓] Chrome - develop for the web [14ms]
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Android Studio (version 2024.2) [13ms]
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)

[✓] VS Code (version 1.97.2) [12ms]
    • VS Code at C:\Users\jahmad4\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.98.0

[✓] VS Code (version 1.97.0-insider) [12ms]
    • VS Code at C:\Users\jahmad4\AppData\Local\Programs\Microsoft VS Code Insiders
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available) [1,779ms]
    • Chrome (web) • chrome • web-javascript • Google Chrome 133.0.6943.60
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 132.0.2957.140
    ! Device 34101JEGR11180 is offline.

[✓] Network resources [2.2s]
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: solvedIssue is closed as solved

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions