c-mendoza / RemoteRemote

Control your ofParameters remotely with a mobile Flutter app!
9 stars 0 forks source link

trying to build on Windows/Android #1

Closed moebiussurfing closed 2 years ago

moebiussurfing commented 2 years ago

Hey @c-mendoza , I am very newbie on flutter and Android, but the bundled examples on the installed flutter are working fine. For example, the hello_world project works fine on the same system like that:

PS C:\Users\myuser\Documents\flutter\examples\hello_world> flutter run
Launching lib\main.dart on M2000C0GG in debug mode...
Running Gradle task 'assembleDebug'...                             15.2s
✓  Built build\app\outputs\flutter-apk\app-debug.apk.
Syncing files to device M2000C0GG...                                43ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

💪 Running with sound null safety 💪

An Observatory debugger and profiler on M2000C0GG is available at:
http://127.0.0.1:55242/xchjepNYJjk=/
The Flutter DevTools debugger and profiler on M2000C0GG is available at:
http://127.0.0.1:9100?uri=http://127.0.0.1:55242/xchjepNYJjk=/

But when running this main repo cloned I am getting errors: (the only difference is that I am not adding the device id bc it seems auto-detected..)

PS C:\Users\myuser\Documents\RemoteRemote> flutter pub get
Running "flutter pub get" in RemoteRemote...                     1,565ms
PS C:\Users\myuser\Documents\RemoteRemote> flutter run
Launching lib\main.dart on M2000C0GG in debug mode...
lib/of_parameter_controller/widgets/of_path_parameter.dart:481:62: Error: The getter 'headline' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline'.
                          style: Theme.of(context).textTheme.headline,
                                                             ^^^^^^^^

FAILURE: Build failed with an exception.

* Where:
Script 'C:\Users\myuser\Documents\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1070

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'C:\Users\myuser\Documents\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* 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.

* Get more help at https://help.gradle.org

BUILD FAILED in 21s
Running Gradle task 'assembleDebug'...                             22.1s
Exception: Gradle task assembleDebug failed with exit code 1

Do you think could be related to my newer than yours flutter version? Something related to the Android Studio/SDK/NDk (not the last maybe..) that I am using for OF? Any idea of how to start checking from?

Thanks for all this OF stuff!

moebiussurfing commented 2 years ago

... when running with verbose flag I am getting more detail:

PS C:\Users\myuser\Documents\RemoteRemote> flutter run -v
[  +82 ms] executing: [C:\Users\myuser\Documents\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +536 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[   +1 ms] executing: [C:\Users\myuser\Documents\flutter/] git tag --points-at 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[  +58 ms] Exit code 0 from: git tag --points-at 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[        ] 2.8.1
[   +9 ms] executing: [C:\Users\myuser\Documents\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +43 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\Users\myuser\Documents\flutter/] git ls-remote --get-url origin
[  +42 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +122 ms] executing: [C:\Users\myuser\Documents\flutter/] git rev-parse --abbrev-ref HEAD
[  +45 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +91 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +66 ms] executing: C:\Users\myuser\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +60 ms] List of devices attached
           ZPJVNNPZ45AU7999       device product:angelica_eea model:M2000C0GG device:angelica transport_id:2
[   +7 ms] C:\Users\myuser\AppData\Local\Android\sdk\platform-tools\adb.exe -s ZPJVNNPZ45AU7999 shell getprop
[ +208 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +95 ms] Skipping pub get: version match.
[  +49 ms] Found plugin path_provider_linux at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.1.5\
[   +8 ms] Found plugin path_provider_windows at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.5\
[   +8 ms] Found plugin shared_preferences at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences-2.0.12\
[   +2 ms] Found plugin shared_preferences_android at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_android-2.0.10\
[   +3 ms] Found plugin shared_preferences_ios at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_ios-2.0.9\
[   +4 ms] Found plugin shared_preferences_linux at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-2.0.4\
[   +3 ms] Found plugin shared_preferences_macos at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-2.0.2\
[   +4 ms] Found plugin shared_preferences_web at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-2.0.3\
[   +2 ms] Found plugin shared_preferences_windows at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_windows-2.0.4\
[   +9 ms] Found plugin url_launcher at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-5.7.10\
[   +1 ms] Found plugin url_launcher_linux at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-0.0.1+4\
[   +1 ms] Found plugin url_launcher_macos at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+9\
[   +2 ms] Found plugin url_launcher_web at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-0.1.5+3\
[   +1 ms] Found plugin url_launcher_windows at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-0.0.1+3\
[   +2 ms] Found plugin wakelock at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\
[   +1 ms] Found plugin wakelock_macos at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock_macos-0.4.0\
[   +2 ms] Found plugin wakelock_web at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock_web-0.4.0\
[ +114 ms] Found plugin path_provider_linux at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.1.5\
[   +2 ms] Found plugin path_provider_windows at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.5\
[   +4 ms] Found plugin shared_preferences at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences-2.0.12\
[   +1 ms] Found plugin shared_preferences_android at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_android-2.0.10\
[   +1 ms] Found plugin shared_preferences_ios at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_ios-2.0.9\
[   +1 ms] Found plugin shared_preferences_linux at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-2.0.4\
[   +2 ms] Found plugin shared_preferences_macos at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-2.0.2\
[   +2 ms] Found plugin shared_preferences_web at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-2.0.3\
[   +1 ms] Found plugin shared_preferences_windows at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_windows-2.0.4\
[   +8 ms] Found plugin url_launcher at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-5.7.10\
[   +1 ms] Found plugin url_launcher_linux at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-0.0.1+4\
[   +1 ms] Found plugin url_launcher_macos at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+9\
[   +2 ms] Found plugin url_launcher_web at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-0.1.5+3\
[   +1 ms] Found plugin url_launcher_windows at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-0.0.1+3\
[   +1 ms] Found plugin wakelock at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\
[   +1 ms] Found plugin wakelock_macos at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock_macos-0.4.0\
[   +1 ms] Found plugin wakelock_web at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock_web-0.4.0\
[  +14 ms] Generating C:\Users\myuser\Documents\RemoteRemote\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +64 ms] ro.hardware = mt6765
[   +2 ms] ro.build.characteristics = default
[  +51 ms] Initializing file store
[  +13 ms] Skipping target: gen_localizations
[   +7 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
C:\Users\myuser\Documents\RemoteRemote\.dart_tool\package_config_subset,C:\Users\myuser\Documents\RemoteRemote\.dart_tool\flutter_build\generated_main.dart}
[  +40 ms] Found plugin path_provider_linux at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.1.5\
[   +1 ms] Found plugin path_provider_windows at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.5\
[   +3 ms] Found plugin shared_preferences at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences-2.0.12\
[   +1 ms] Found plugin shared_preferences_android at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_android-2.0.10\
[   +1 ms] Found plugin shared_preferences_ios at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_ios-2.0.9\
[   +1 ms] Found plugin shared_preferences_linux at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-2.0.4\
[   +1 ms] Found plugin shared_preferences_macos at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-2.0.2\
[   +1 ms] Found plugin shared_preferences_web at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-2.0.3\
[        ] Found plugin shared_preferences_windows at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_windows-2.0.4\
[   +3 ms] Found plugin url_launcher at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-5.7.10\
[        ] Found plugin url_launcher_linux at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-0.0.1+4\
[        ] Found plugin url_launcher_macos at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+9\
[   +1 ms] Found plugin url_launcher_web at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-0.1.5+3\
[        ] Found plugin url_launcher_windows at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-0.0.1+3\
[   +1 ms] Found plugin wakelock at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.5.6\
[   +1 ms] Found plugin wakelock_macos at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock_macos-0.4.0\
[   +1 ms] Found plugin wakelock_web at C:\Users\myuser\Documents\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock_web-0.4.0\
[  +10 ms] gen_dart_plugin_registrant: Complete
[   +2 ms] Skipping target: _composite
[   +2 ms] complete
[   +6 ms] Launching lib\main.dart on M2000C0GG in debug mode...
[   +5 ms] C:\Users\myuser\Documents\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\Users\myuser\Documents\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\myuser\Documents\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata
-DFLUTTER_WEB_AUTO_DETECT=true --output-dill C:\Users\MOEBIU~1\AppData\Local\Temp\flutter_tools.16155077\flutter_tool.1e2284ce\app.dill --packages
C:\Users\myuser\Documents\RemoteRemote\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root
--initialize-from-dill build\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[  +15 ms] executing: C:\Users\myuser\AppData\Local\Android\sdk\platform-tools\adb.exe -s ZPJVNNPZ45AU7999 shell -x logcat -v time -t 1
[  +19 ms] <- compile file:///C:/Users/myuser/Documents/RemoteRemote/.dart_tool/flutter_build/generated_main.dart
[ +220 ms] --------- beginning of main
                    01-27 01:17:30.240 I/ADB_SERVICES(16696): for fd 28, revents = 2011
[   +9 ms] executing: C:\Users\myuser\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +27 ms] Android Debug Bridge version 1.0.41
           Version 31.0.3-7562133
           Installed as C:\Users\myuser\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +2 ms] executing: C:\Users\myuser\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +25 ms] Building APK
[  +16 ms] Running Gradle task 'assembleDebug'...
[   +4 ms] Using gradle from C:\Users\myuser\Documents\RemoteRemote\android\gradlew.bat.
[  +18 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[  +97 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "1.8.0_152-release"
           OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
           OpenJDK 64-Bit Server VM (build 25.152-b01, mixed mode)
[   +3 ms] executing: [C:\Users\myuser\Documents\RemoteRemote\android/] C:\Users\myuser\Documents\RemoteRemote\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm
-Ptarget=C:\Users\myuser\Documents\RemoteRemote\lib\main.dart -Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false
-Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+4493 ms] > Task :app:compileFlutterBuildDebug
[        ] [  +77 ms] executing: [C:\Users\myuser\Documents\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [ +588 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[        ] [        ] executing: [C:\Users\myuser\Documents\flutter/] git tag --points-at 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[        ] [  +74 ms] Exit code 0 from: git tag --points-at 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[        ] [        ] 2.8.1
[        ] [   +8 ms] executing: [C:\Users\myuser\Documents\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +52 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] [        ] origin/stable
[        ] [        ] executing: [C:\Users\myuser\Documents\flutter/] git ls-remote --get-url origin
[   +8 ms] [  +38 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +59 ms] executing: [C:\Users\myuser\Documents\flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +45 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +69 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[  +18 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] [   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +44 ms] [ +128 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [   +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +89 ms] [  +52 ms] Initializing file store
[   +1 ms] [  +23 ms] Done initializing file store
[        ] [  +54 ms] Skipping target: gen_localizations
[        ] [  +16 ms] Skipping target: gen_dart_plugin_registrant
[ +576 ms] lib/of_parameter_controller/widgets/of_path_parameter.dart:481:62: Error: The getter 'headline' isn't defined for the class 'TextTheme'.
[   +1 ms]  - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../flutter/packages/flutter/lib/src/material/text_theme.dart').
[        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline'.
[        ]                           style: Theme.of(context).textTheme.headline,
[        ]                                                              ^^^^^^^^
[ +119 ms] [ +617 ms] kernel_snapshot: Starting due to {}
[   +1 ms] [  +15 ms] C:\Users\myuser\Documents\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\Users\myuser\Documents\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\myuser\Documents\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false
-Ddart.vm.product=false --enable-asserts --track-widget-creation --no-link-platform --packages C:\Users\myuser\Documents\RemoteRemote\.dart_tool\package_config.json --output-dill
C:\Users\myuser\Documents\RemoteRemote\.dart_tool\flutter_build\aa335c9c7a3f6a84611ed5c8f923fab2\app.dill --depfile
C:\Users\myuser\Documents\RemoteRemote\.dart_tool\flutter_build\aa335c9c7a3f6a84611ed5c8f923fab2\kernel_snapshot.d
C:\Users\myuser\Documents\RemoteRemote\.dart_tool\flutter_build\generated_main.dart
[+5294 ms] [+5348 ms] lib/of_parameter_controller/widgets/of_path_parameter.dart:481:62: Error: The getter 'headline' isn't defined for the class 'TextTheme'.
[   +2 ms] [   +1 ms]  - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../flutter/packages/flutter/lib/src/material/text_theme.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline'.
[   +1 ms] [        ]                           style: Theme.of(context).textTheme.headline,
[        ] [        ]                                                              ^^^^^^^^
[+8798 ms] [+8765 ms] Persisting file store
[        ] [  +16 ms] Done persisting file store
[   +1 ms] [   +3 ms] Target kernel_snapshot failed: Exception
[   +1 ms]            #0      KernelSnapshot.build (package:flutter_tools/src/build_system/targets/common.dart:241:7)
[   +1 ms]            <asynchronous suspension>
[        ]            #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:839:9)
[        ]            <asynchronous suspension>
[        ]            #2      Future.wait.<anonymous closure> (dart:async/future.dart)
[        ]            <asynchronous suspension>
[        ]            #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #4      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:606:16)
[        ]            <asynchronous suspension>
[        ]            #5      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:317:32)
[        ]            <asynchronous suspension>
[        ]            #6      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
[        ]            <asynchronous suspension>
[        ]            #7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #8      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[        ]            #9      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
[        ]            <asynchronous suspension>
[        ]            #10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #11     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
[        ]            <asynchronous suspension>
[        ]            #12     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[        ]            #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #14     main (package:flutter_tools/executable.dart:94:3)
[        ]            <asynchronous suspension>
[        ] [   +4 ms]
[        ]            #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
[        ]            #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:334:7)
[        ]            <asynchronous suspension>
[        ]            #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
[        ]            <asynchronous suspension>
[        ]            #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[        ]            #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
[        ]            <asynchronous suspension>
[        ]            #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
[        ]            <asynchronous suspension>
[        ]            #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[        ]            #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #10     main (package:flutter_tools/executable.dart:94:3)
[        ]            <asynchronous suspension>
[        ] [  +12 ms] "flutter assemble" took 15,092ms.
[  +67 ms] [  +68 ms] ensureAnalyticsSent: 67ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 1
[   +1 ms] > Task :app:compileFlutterBuildDebug FAILED
[        ] 1 actionable task: 1 executed
[        ] FAILURE: Build failed with an exception.
[        ] * Where:
[        ] Script 'C:\Users\myuser\Documents\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1070
[        ] * What went wrong:
[        ] Execution failed for task ':app:compileFlutterBuildDebug'.
[        ] > Process 'command 'C:\Users\myuser\Documents\flutter\bin\flutter.bat'' finished with non-zero exit value 1
[        ] * 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.
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 19s
[ +554 ms] Running Gradle task 'assembleDebug'... (completed in 20.3s)
[   +3 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +1 ms] "flutter run" took 21,630ms.
[   +3 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:674:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:94:3)
           <asynchronous suspension>

[  +73 ms] ensureAnalyticsSent: 70ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1
c-mendoza commented 2 years ago

Yes, newer versions of Flutter removed certain properties from TextTheme, so that needs to be updated. You could try downgrading Flutter for the moment.

c.

On Jan 26, 2022, at 11:15 PM, moebiusSurfing @.***> wrote:

 Hey @c-mendoza , I am very newbie on flutter and Android, but the bundled examples on the installed flutter are working fine. For example, the hello_world project works fine on the same system like that:

PS C:\Users\myuser\Documents\flutter\examples\hello_world> flutter run Launching lib\main.dart on M2000C0GG in debug mode... Running Gradle task 'assembleDebug'... 15.2s ✓ Built build\app\outputs\flutter-apk\app-debug.apk. Syncing files to device M2000C0GG... 43ms

Flutter run key commands. r Hot reload. 🔥🔥🔥 R Hot restart. h List all available interactive commands. d Detach (terminate "flutter run" but leave application running). c Clear the screen q Quit (terminate the application on the device).

💪 Running with sound null safety 💪

An Observatory debugger and profiler on M2000C0GG is available at: http://127.0.0.1:55242/xchjepNYJjk=/ The Flutter DevTools debugger and profiler on M2000C0GG is available at: http://127.0.0.1:9100?uri=http://127.0.0.1:55242/xchjepNYJjk=/ But when running this main repo cloned I am getting errors: (the only difference is that I am not adding the device id bc it seems auto-detected..)

PS C:\Users\myuser\Documents\RemoteRemote> flutter pub get Running "flutter pub get" in RemoteRemote... 1,565ms PS C:\Users\myuser\Documents\RemoteRemote> flutter run Launching lib\main.dart on M2000C0GG in debug mode... lib/of_parameter_controller/widgets/of_path_parameter.dart:481:62: Error: The getter 'headline' isn't defined for the class 'TextTheme'.

  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../flutter/packages/flutter/lib/src/material/text_theme.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline'. style: Theme.of(context).textTheme.headline, ^^^^^^^^

FAILURE: Build failed with an exception.

  • Where: Script 'C:\Users\myuser\Documents\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1070

  • What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.

    Process 'command 'C:\Users\myuser\Documents\flutter\bin\flutter.bat'' finished with non-zero exit value 1

  • 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.

  • Get more help at https://help.gradle.org

BUILD FAILED in 21s Running Gradle task 'assembleDebug'... 22.1s Exception: Gradle task assembleDebug failed with exit code 1 Do you think could be related to my newer than yours flutter version? Something related to the Android Studio/SDK/NDk (not the last maybe..) that I am using for OF? Any idea of how to start checking from?

Thanks for all this OF stuff!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

moebiussurfing commented 2 years ago

Thanks, I just go with the git way, setting to the tag 2.0.3 close to your last commit date (2021 march)

Now I am getting these errors:

PS C:\Users\myuser\Documents\RemoteRemote> flutter pub get
Running "flutter pub get" in RemoteRemote...                     1,614ms
PS C:\Users\myuser\Documents\RemoteRemote> flutter run
Launching lib\main.dart on M2000C0GG in debug mode...
../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_colorpicker-1.0.3/lib/src/material_picker.dart:137:18: Error: The method 'copyWith' isn't defined for the class 'ScrollBehavior'.
 - 'ScrollBehavior' is from 'package:flutter/src/widgets/scroll_configuration.dart' ('../_Android/flutter/packages/flutter/lib/src/widgets/scroll_configuration.dart').
Try correcting the name to the name of an existing method, or defining a method named 'copyWith'.
                .copyWith(dragDevices: PointerDeviceKind.values.toSet()),
                 ^^^^^^^^
../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_colorpicker-1.0.3/lib/src/material_picker.dart:200:14: Error: The method 'copyWith' isn't defined for the class 'ScrollBehavior'.
 - 'ScrollBehavior' is from 'package:flutter/src/widgets/scroll_configuration.dart' ('../_Android/flutter/packages/flutter/lib/src/widgets/scroll_configuration.dart').
Try correcting the name to the name of an existing method, or defining a method named 'copyWith'.
            .copyWith(dragDevices: PointerDeviceKind.values.toSet()),
             ^^^^^^^^
../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_colorpicker-1.0.3/lib/src/palette.dart:1055:15: Error: No named parameter with the name 'label'.
              label: widget.embeddedText ? const Text('Hex') : null,
              ^^^^^
../_Android/flutter/packages/flutter/lib/src/material/input_decorator.dart:2504:9: Context: Found this candidate, but the arguments don't match.
  const InputDecoration({
        ^^^^^^^^^^^^^^^

FAILURE: Build failed with an exception.

* Where:
Script 'C:\Users\myuser\Documents\_Android\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 991

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'C:\Users\myuser\Documents\_Android\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* 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.

* Get more help at https://help.gradle.org

BUILD FAILED in 21s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                        22.2s
Exception: Gradle task assembleDebug failed with exit code 1

Do you remember what version you used? Any idea?

Regards!

kyeshmz commented 2 years ago

Same kind of error with android / mac

[+5187 ms] [+5362 ms] lib/of_parameter_controller/widgets/of_path_parameter.dart:481:62: Error: The getter 'headline' isn't defined for the class 'TextTheme'.
[   +2 ms] [   +1 ms]  - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../../.asdf/installs/flutter/2.8.1-stable/packages/flutter/lib/src/material/text_theme.dart').
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline'.
[        ] [        ]                           style: Theme.of(context).textTheme.headline,
[        ] [        ]                                                              ^^^^^^^^
[+8897 ms] [+8950 ms] Persisting file store
[        ] [  +16 ms] Done persisting file store
[        ] [   +3 ms] Target kernel_snapshot failed: Exception
[        ]            #0      KernelSnapshot.build (package:flutter_tools/src/build_system/targets/common.dart:241:7)
[        ]            <asynchronous suspension>
[        ]            #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:839:9)
[        ]            <asynchronous suspension>
[        ]            #2      Future.wait.<anonymous closure> (dart:async/future.dart)
[        ]            <asynchronous suspension>
[        ]            #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #4      Future.wait.<anonymous closure> (dart:async/future.dart)
[        ]            <asynchronous suspension>
[        ]            #5      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #6      Future.wait.<anonymous closure> (dart:async/future.dart)
[        ]            <asynchronous suspension>
[        ]            #7      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #8      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:606:16)
[        ]            <asynchronous suspension>
[        ]            #9      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:317:32)
[   +3 ms]            <asynchronous suspension>
[        ]            #10     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
[        ]            <asynchronous suspension>
[        ]            #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #12     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[        ]            #13     FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
[        ]            <asynchronous suspension>
[        ]            #14     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #15     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
[        ]            <asynchronous suspension>
[        ]            #16     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[        ]            #17     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #18     main (package:flutter_tools/executable.dart:94:3)
[        ]            <asynchronous suspension>
[  +91 ms] [  +18 ms] "flutter assemble" took 15,714ms.
[        ] [   +7 ms]
[        ]            #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
[        ]            #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:334:7)
[        ]            <asynchronous suspension>
[        ]            #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
[        ]            <asynchronous suspension>
[        ]            #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[        ]            #5      FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
[        ]            <asynchronous suspension>
[        ]            #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
[        ]            <asynchronous suspension>
[        ]            #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[        ]            #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #10     main (package:flutter_tools/executable.dart:94:3)
[        ]            <asynchronous suspension>
[ +194 ms] [ +230 ms] ensureAnalyticsSent: 229ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 1
[        ] > Task :app:compileFlutterBuildRelease FAILED
[        ] 1 actionable task: 1 executed
[        ] FAILURE: Build failed with an exception.
[        ] * Where:
[        ] Script '/Users/kyeshmz/.asdf/installs/flutter/2.8.1-stable/packages/flutter_tools/gradle/flutter.gradle' line: 1070
[        ] * What went wrong:
[        ] Execution failed for task ':app:compileFlutterBuildRelease'.
[        ] > Process 'command '/Users/kyeshmz/.asdf/installs/flutter/2.8.1-stable/bin/flutter'' finished with non-zero exit value 1
[        ] * 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.
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 18s
[ +425 ms] Running Gradle task 'assembleRelease'... (completed in 22.4s)
[   +4 ms] "flutter apk" took 23,259ms.
[   +3 ms] Gradle task assembleRelease failed with exit code 1
[        ]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      AndroidGradleBuilder.buildGradleApp (package:flutter_tools/src/android/gradle.dart:400:9)
           <asynchronous suspension>
           #2      AndroidGradleBuilder.buildApk (package:flutter_tools/src/android/gradle.dart:179:5)
           <asynchronous suspension>
           #3      BuildApkCommand.runCommand (package:flutter_tools/src/commands/build_apk.dart:108:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:94:3)
           <asynchronous suspension>

[ +254 ms] ensureAnalyticsSent: 253ms
[   +2 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1
c-mendoza commented 2 years ago

It is going to take more time than I was expecting to fix all the deprecations, but in the meantime I pushed a new branch that compiles and runs. The color scheme is going to be all wrong, but at least you get something that works.

Make sure to do pub upgrade, otherwise you'll run into different compilation errors.

moebiussurfing commented 2 years ago

Thanks a lot @c-mendoza , it worked!

I just updated the Flutter git repo to the current date stable, with your new branch too, and it works.

EDIT: Btw, it worked on my mobile device too.


~~PS: Do you recommend or do you think can be easy to learn Flutter to a newbie in mobile development? I have seen the very extended use of js React/React Native and Threejs/Fiber these days... Maybe not only to be an alternative to OF gfx but maybe just to extend a desktop OF app with an external app with a custom GUI mobile/touch control... Why do you decide to use Flutter vs others?~~