flutter / flutter/flutter-intellij

warn user when Android SDK in IDEA doesn't match "flutter doctor"

Open
#918 0 comments 1 reaction 0 assignees View on GitHub
▣ platform-android
Dominant language
Java
Stars
2k
Forks
356
Avg merge
1d 11h
Merged PRs (30d)
27

Description

To reproduce:
- create a new Flutter project
- on the "android" module, see that the Module SDK is "Android API 25 Platform"
- create the Android SDK to match, setting this to a different android home than the one reported by "flutter doctor"

We don't warn about this, but it could easily happen accidentally, resulting in confused users. We should show a warning somewhere if the Android SDK is different.

Contributor guide

Open the contributing guide

Research direction

The issue provides a reproduction using a Flutter project’s android module and the Android SDK reported by "flutter doctor," but names no files or tests. Start by tracing where the plugin reads the module SDK and Flutter’s Android SDK path; done means showing a warning when those SDKs differ.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
devtools, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.