Closed kmaxion closed 4 years ago
Running into the same problem. Can compile it localy (windows 10) but not in appcenter build. Only occures for debug builds.
Update: Looks like I missed the flutter precache
step during the installation. It's working fine now.
~I noticed the same behavior on my new Macbook. Only difference between my old and new Macbook is that the path to the flutter.jar does not exist on my new one, eg the folder android-x64
is missing from the engine artifacts:~
~System.env.FLUTTER_ROOT + "/bin/cache/artifacts/engine/android-x64/flutter.jar"
~
For reference, these were the engines available on a fresh install in the /bin/cache/artifacts/engine
folder without the flutter precache
command:
For reference, these were the engines available on a fresh install in the
/bin/cache/artifacts/engine
folder without theflutter precache
command:
Running that command worked for me! Thanks. Even though echo $FLUTTER_ROOT
didn't return anything, it still worked.
Currently getting this error when running
flutter run
Works on my window machine but for some reason not on my mac. The folder /Users/user/dev/flutter/bin/cache/artifacts/engine/android-x64/ seen in error doesn't exist on my mac, it only has /android-x64-profile/ and /android-x64-release/ so maybe that's causing the issue?
Here's my flutter doctor -v output: