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

Flutter run doesn't work #12

Open
klausgreiner opened this issue Apr 20, 2020 · 1 comment
Open

Flutter run doesn't work #12

klausgreiner opened this issue Apr 20, 2020 · 1 comment

Comments

@klausgreiner
Copy link

I had to recreate my project and paste the files into it and it worked.
FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.

Failed to install the following SDK components:
platforms;android-29 Android SDK Platform 29
The SDK directory is not writable (C:\Program Files (x86)\Android\android-sdk)

@kt-aakash
Copy link

Make sure these are the steps you follow while you pull a project from GitHub

  1. Import the project form GitHub using the repo link and do not open it immediately

  2. Close all the existing projects and now choose open an existing project in Android Studio

  3. Once opened, first head to the main.dart where you would get a prompt asking if you want Dart support enabled

  4. After you accept it, another prompet follows which is the get dependencies option which you will need to accept

  5. Given the required time for things to load, you would get a project successfully built without any errors.

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