Home > Software engineering >  Problem Import Flutter Project to Android Studio
Problem Import Flutter Project to Android Studio

Time:04-10

I tried to import flutter project from my pc to the android studio and got this error. I already read the link that they give to me but I still don't understand. A little help please, or how do I import flutter project correctly?

The error

img

CodePudding user response:

from which version/tool you imported the project?. This is normally happed because of gradle-wrapper issues. Please check the link. https://quick-adviser.com/how-can-we-solve-project-is-not-a-gradle-based-project/

CodePudding user response:

The project is not Gradle based can be because bulid.gradle and settings.gradle are not in the IDE project directory,

Try this

Open that other folder as an Android Studio Project and let it download other dependencies and file or you can create new flutter project and check the file generated with yours and try to add the file not in your own from the new flutter project you created.

This will solve the issue

  • Related