-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Dart file #16
Comments
Sharekaswaby, I have had the same problem every time I clone a project. Hopefully your problem is the same as mine, and this is the solution which works for me: Problems getting projects to open up from Version Control.
I really do help this solves your issue. It took a few hours to figure this one out with the mi-card project and so I do hope I can help save someone else this frustration! Please do let me know if this worked! Thanks, |
Hello Alex
Thank you very much for your assistance. It seems we have somewhat of a similar issue. Except, when I drag and drop the dart file, it now says add configurations. I hope trust you are knowledgeable in this will and can provide further assistance.
Regards
Sharon
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: AlexDartmoor<mailto:[email protected]>
Sent: 18 June 2020 00:32
To: londonappbrewery/dicee-flutter<mailto:[email protected]>
Cc: Sharekaswaby<mailto:[email protected]>; Author<mailto:[email protected]>
Subject: Re: [londonappbrewery/dicee-flutter] Dart file (#16)
Sharekaswaby, I have had the same problem every time I clone a project. Hopefully your problem is the same as mine, and this is the solution which works for me:
Problems getting projects to open up from Version Control.
1. Open the cloned project
2. Find the cloned files in a separate documents window (not in Android Studio).
3. In Documents file - find a file in here called 'main.dart' (probably in the folder named lib).
4. Drag and drop the main.dart file into the space on Android Studio where you write the code. This should bring up the code as it appears in the tutorial.
5. It may now say that Dart SDK is not configured. If it does, in Android Studio go to File>Settings>Languages & Frameworks>Dart.
6. Click on the box 'Enable Dart support for the project ….........'
7. You will need to input the Dart SDK path. This is probably: C:\src\flutter\flutter\bin\cache\dart-sdk
8. If the above path suggestion doesn't work, open up a different, working Flutter project in Android studio. Find the correct path within this project - File>Settings>Languages & Frameworks>Dart.
9. Copy and paste the path from this working project into the project you are trying to get to work.
10. Then click the boxes 'Enable Dart Support for the following modules.
11. Click 'OK'
12. It should now work.
13. Remember to now click 'Get Dependencies' at top of the screen
I really do help this solves your issue. It took a few hours to figure this one out with the mi-card project and so I do hope I can help save someone else this frustration! Please do let me know if this worked!
Thanks,
Alex
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#16 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AP7NLFJTPG5VAKNZ433O7W3RXG7HFANCNFSM4OAD6BUQ>.
|
Hi Sharon, it sounds like you need to 'configure' Dart. You may not have Dart installed at all. In which case you need to install Dart:
Hope this helps, |
Hi Alex
I most certainly do have dart installed since I have been able to complete all other projects up to now. As for the configuration, I did it and it just gave me the same results. I am now totally clueless.
Thank you
Shareka
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: AlexDartmoor<mailto:[email protected]>
Sent: 20 June 2020 01:19
To: londonappbrewery/dicee-flutter<mailto:[email protected]>
Cc: Sharekaswaby<mailto:[email protected]>; Author<mailto:[email protected]>
Subject: Re: [londonappbrewery/dicee-flutter] Dart file (#16)
Hi Sharon, it sounds like you need to 'configure' Dart.
My instructions above resolve this. See step 5 onwards in my instructions above. Apologies if they don't make sense - let me know if anything needs to be clearer.
You may not have Dart installed at all. In which case you need to install Dart:
In Android Studio:
1. File > Settings > Plugins
2. Find 'Plugins Marketplace' at the top of the window and search 'Dart'.
3. Follow the installation steps for installing Dart. There are earlier videos in this AppBrewery Course which cover the installation of Dart and Flutter.
Hope this helps,
Alex
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#16 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AP7NLFPUJXCEPIQWPXRGZNDRXRWI7ANCNFSM4OAD6BUQ>.
|
Hi Shareka, Perhaps you could share a screenshot when Android Studio is telling you to 'add configurations'. It's hard to know what to suggest from here without further information. Kind regards, |
When I clone the dicee code and open it in android studio, there is no dart file. How do I fix this?
The text was updated successfully, but these errors were encountered: