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

Cloning Issue #24

Open
Wiz-B opened this issue May 28, 2020 · 1 comment
Open

Cloning Issue #24

Wiz-B opened this issue May 28, 2020 · 1 comment

Comments

@Wiz-B
Copy link

Wiz-B commented May 28, 2020

Hey guys.
So I have been following the tutorial for the mi_card and having issues after cloning.
The folder is saved on my computer but a lot of folders are missing and I keep getting the "File not found: git.exe" error.
Please help.

lala

@AlexDartmoor
Copy link

Hi,
Hopefully this may solve your problem:

  1. Open the cloned project in Android Studio.
  2. Now find the cloned files in a separate documents window (not in Android Studio).
  3. Within the documentation, 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

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

2 participants