question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dart SDK not recognized on raspberry pi

See original GitHub issue

I’ve installed a dart sdk(armv7 architecture) on my raspberry pi 4b, and i am using vs code remote explorer to connect to the raspberry pi to develop some dart files. I have installed the dart extension on the vs code server running on the linux server, but the extension does not want to recognize the dart sdk. I have attached the full log bellow, and have included the parts i believe are relevant. The dart-sdk is installed in /usr/lib/dart

log.txt

[14:28:40] [General] [Info] Searching for dart
[14:28:40] [General] [Info]     Looking for dart in:
[14:28:40] [General] [Info]         /usr/lib/dart/bin
[14:28:40] [General] [Info]     Found at:
[14:28:40] [General] [Info]         /usr/lib/dart/bin
[14:28:40] [General] [Info]     Candidate paths to be post-filtered:
[14:28:40] [General] [Info]         /usr/lib/dart
[14:28:40] [General] [Info]     Returning SDK path undefined for dart

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
DanTupcommented, Jun 5, 2020

Thanks - I’ve moved this over to https://github.com/dart-lang/sdk/issues/41845 as it seems like that SDK is incomplete. In the meantime, if your Pi supports ARMv8, that SDK does include the analysis_server snapshot. Otherwise you might be able to clone the SDK repo and build the snapshot from the source (or run the server from source using the dart.analyzerPath setting).

0reactions
igotyoucommented, May 11, 2020

Thanks for the help Dan 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dart SDK build failed on Raspberry Pi - Stack Overflow
I'm trying to build the Dart SDK on the Raspberry Pi platform following the instruction here. I'm compiling from Raspbian using the qemu ......
Read more >
Get the Dart SDK
This page describes how to download the Dart SDK. The Dart SDK has the libraries and command-line tools that you need to develop...
Read more >
Dart Frog on Raspberry Pi | by Alfred Schilken - Medium
Dart Frog on Raspberry Pi · Prerequisites · Download the Dart-SDK on the Raspi · Add the Dart tools to the PATH ·...
Read more >
[2022] 7 Steps to Fix Dart SDK is not Configured in Flutter
Steps to Fix Dart SDK is not Configured Error ; Step 1: Open the terminal (in Mac/Linux) or command prompt (Windows) ; Step...
Read more >
dart_periphery | Dart Package - Pub.dev
dart_periphery works with flutter-pi, a light-weight Flutter Engine Embedder for Raspberry Pi. For flutter-pi the appropriate library must be copied inside the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found