Hello,
I a beginner in flutter developpement and i just created a new flutter project in Android Studio.
I have done nothing else but I already have a error when i look to settings.gradle.kts : Code Insight unavailable (related Gradle project not linked).
I have a button to link Gradle project but i don’t really understand what i have to link.
Can you help me please ?
That just means your IDE did not import the project as the Gradle project is not linked to your IDE project.
This is more an IDE question than a Gradle question.
Usually it should automatically linked, but if not, just press the button and it should be properly linked / synched, unless there was an error during the sync that prevented it to be linked properly.
Thx for your answer.
When I click on the link, i have to indicate the path to something ! But i don’t understand what i have to link to !
Well, maybe you should show a screenshot of what you are seeing
or actually you maybe should ask the IDE support instead.
Actually, everything seems to works despite this message.
So, I will forget it
Thx for your help.
i am getting the same issue and i am attaching the screenshot of which i am getting after clicking on link gradle project button
and then i am choosing the android folder to link gradle project but then ide download some files and warning goes out but the project structure mismatch and if i reopen the project so the ide start linking the gradle file with project automatically and sometimes it dont shows any waring but major time the linking failed and shows another warning that “Gradle project sync failed. Basic functionality (e.g editing, debugging) will not work properly”.
plz help me why i am getting this warning even after creating new project i have several questions.
- should i forgot this error?
- should i solve this error?
- will it automatically solved by ide?
- will it affect at release level build?
- should i forgot this error?
Probably not
- should i solve this error?
Probably
- will it automatically solved by ide?
Probably not
- will it affect at release level build?
Depends on what your problem is.
It is is just an IDE sync error, you just loose IDE functionality.
If it is some other problem, you get other problems.
You forgot to share what error you got from the Sync exactly.
After it failed the respective tool window should usually have opened.
If not, open the “Build” tool window manually to retrieve the error.
Optimally you would enable build scans programmatically and share the build scan URL for the failing Sync.