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

'Get dependencies' option not available #34

Open
Vaby23rd opened this issue Oct 4, 2020 · 5 comments
Open

'Get dependencies' option not available #34

Vaby23rd opened this issue Oct 4, 2020 · 5 comments

Comments

@Vaby23rd
Copy link

Vaby23rd commented Oct 4, 2020

Android version 4.0.1 is not showing 'get dependencies' option at top.

@Vaby23rd
Copy link
Author

Vaby23rd commented Oct 4, 2020

Screenshot 2020-10-04 092716

@Delocalized-electron
Copy link

That means you already got all the necessary dependencies.

@projectcode96
Copy link

I'm having the same issue. I definitely show the errors that she showed in the video though I never got a "get dependencies" pop up.

I did type "flutter pub get" into the terminal which resulted in it saying this: "Your Flutter application is created using an older version of the Android embedding. It's being deprecated in favor of Android embedding v2. Follow the steps at https://flutter.dev/go/android-project-migration to migrate your project."

@AkshaySiddannavar
Copy link

Solution 1 : Copying all required files

Step 1 : Create a new flutter project at your local system

Step 2 : Copy the code given in main.dart file of stub project and paste it into main.dart file of your local project

Step 3 : Make an 'assets' folder in your local project

Step 4 : download sound-files from github and put them into your local 'assets' folder

Step 5 : in your local pubspec.yaml file, add dependency for your 'assets' folder

Step 6 : Rename MyApp() in widget testing file to MaterialApp()

Hit save(in files other than pubspec.yaml), get all dependencies(in pubspec.yaml) and you're good to go

or

Solution 2 : Migration as per

https://flutter.dev/go/android-project-migration

@ladunjexa
Copy link

As said before, that means you already got all the necessary dependencies. Anyway, whenever you don’t sure about it run flutter pub get in Terminal.

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

5 participants