Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example code does not work. #98

Open
jdevo2004 opened this issue Nov 28, 2023 · 0 comments
Open

Example code does not work. #98

jdevo2004 opened this issue Nov 28, 2023 · 0 comments

Comments

@jdevo2004
Copy link

So I cloned the example code and tried to run it. It failed.

here is the flutter run --verbose

PS C:\Users\jdevo\flutter_compass\android> flutter run --verbose
[ +125 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ +4 ms] 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.
[ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' 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.
[ +54 ms] executing: C:\Users\jdevo\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[ +38 ms] List of devices attached
emulator-5554 device product:sdk_gphone_x86_64 model:sdk_gphone_x86_64 device:emu64xa transport_id:1
[ +5 ms] C:\Users\jdevo\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell getprop
[ +45 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +8 ms] 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.
[ +17 ms] Changing current working directory to: C:\Users\jdevo\flutter_compass
[ +7 ms] "flutter run" took 208ms.
[ +15 ms] Target file "lib\main.dart" not found.
[ +1 ms]
#0 FlutterCommand.validateCommand (package:flutter_tools/src/runner/flutter_command.dart:1700:9)
#1 RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:532:19)
#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1571:11)

#3 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1297:27)

#4 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#5 CommandRunner.runCommand (package:args/command_runner.dart:212:13)

#6 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:339:9)

#7 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#8 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:285:5)

#9 run.. (package:flutter_tools/runner.dart:115:9)

#10 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#11 main (package:flutter_tools/executable.dart:90:3)

[ +174 ms] ensureAnalyticsSent: 168ms
[ ] Running 0 shutdown hooks
[ ] Shutdown hooks complete
[ ] exiting with code 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant