-
Notifications
You must be signed in to change notification settings - Fork 892
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
older version of the Android embedding #14
Comments
https://www.youtube.com/watch?v=nqY2kdEED5w |
or instead using the newest audioplayers you could use the same version |
I have overwritten in the pubspec.yaml the version copied from flutter package download site with the audioplayers: ^0.10.0 and it worked |
Solution : 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 |
Running "flutter pub get" in xylophone-flutter... 0.3s
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 on
https://flutter.dev/go/android-project-migration to migrate your project.
The text was updated successfully, but these errors were encountered: