Flutter analyze throws a lot of errors on Linux instance and not on Mac #2563
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduceHere is the sanitised YAML configuration of the codemagic.yaml file:
Configuration not related to this issue was removed from the codeblock above Here are the contents of android/app/build.gradle file:
Expected results
Actual resultsThe Android build seems to be completely fine yet, the
It seems like it cannot see any of its local files anywhere, files from its own package
Build id (optional)6655aeb658e2595d08002fa6 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Turns out there is a script that was changing the package_name in This script: |
Beta Was this translation helpful? Give feedback.
Turns out there is a script that was changing the package_name in
pubspec.yaml
file.This script:
yq -i '.name = strenv(BUNDLE_IDENTIFIER)' pubspec.yaml
it would rewrite the name value in pubscpec.yaml file to whateverBUNDLE_IDENTIFIER
environment variable holds. I just removed that and it helped with this issue at least, there is some other problem but it is not much.