-
Notifications
You must be signed in to change notification settings - Fork 748
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
Migrating Project #17
Comments
if gradle version is different than the one already exisiting in your system then it will take time downloading it. |
Thank you
…On Fri, 23 Oct 2020, 2:21 pm Omar Saleh, ***@***.***> wrote:
if gradle version is different than the one already exisiting in your
system then it will take time downloading it.
1 : just go to your project then
android\gradle\wrapper\gradle-wrapper.properties
2 : check the gradle version used in the project
3 : then see the one already used in your system at :
C:\Users\omarSaleh.gradle\wrapper\dists and see the version existing
4 : if both versions match, then go to terminal and try flutter clean then
flutter run .
5: if they dont , just download the one used in the project and extract
the file to the path in step 3 .
all the best!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALQWSTYHQX7GTMHD57VDASLSMGGOJANCNFSM4S2PCZ2A>
.
|
I was also having the same issue and took a long while to fix it, I replaced my "Clima-Flutter/android" with "[ Directory to any other flutter project which runs fine on your device ]/android" directory. also in android/app/src/main/AndroidManifest.xml, and it runs fine. I also tried to manually edit the code as shown here: https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects |
So anytime I try to import any project from the course resource I am being told to migrate the project; #
Warning
──────────────────────────────────────────────────────────────────────────────
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.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
but when I follow the instructions and run the app it takes long, i.e. Running Gradle Task takes long than usual and I mean too long. so I ignore it, but i keep getting the warning to migrate project what do I do
The text was updated successfully, but these errors were encountered: