<p dir="auto">Currently there are duplicated checks (e.g. java location and version) in <code class="notranslate">lib/src/android/android_workflow.dart</code> and <code class="notranslate">lib/src/android/android_studio.dart</code>.</p>
<p dir="auto">There should be one canonical Java locator / version checker that is shared between all components that need it (Android build steps, Flutter doctor checks, etc).</p>
<p dir="auto">I thought we had written this down somewhere but I don't see it.  This came out of a discussion with <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Hixie/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Hixie">@Hixie</a> and is a nice-to-have feature, but not anywhere on our near-term roadmap.  Filing as this came up in discussion with a customer the other day.  The goal is to answer the question of "what devices/screensizes does my app look bad on".</p>
<p dir="auto">Should be straightforward with flutter to attempt laying out an app/route/widget at lots of different sizes and validate that no layout exceptions (red areas) are thrown. In the headless desktop sky_shell this would be very quick. Presumably there exists a list of known Android device screen sizes/densities somewhere on the web which should be straightforward to compile.</p>