I purchased an NVIDIA SHIELD for development purposes. Does it support 4k out of the box? I purchased a month pass of the GeForce Now Ultimate. But I am trying to deploy my app written in Flutter with VSCode, to the NVIDIA SHIELD. The resolution is extremely low. How do I get the full 4k? Thank you for your help.
I did. Exactly. I am sorry, I meant to reply once I read about your issue. Add this to your AndroidManifest.xml file under the Application tag:
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name="flutterEmbedding"
android:value="2" />
<meta-data
android:name="io.flutter.embedding.android.EnableImpeller"
android:value="true" />
<meta-data
android:name="io.flutter.embedding.android.DisableSurfaceControl"
android:value="true" />
Thank you Jerry, that worked like a charm 🤩
By chance know how to get 4K on the SHIELD with Flutter? I haven’t figured that out yet. The display is in 4K but the height and width reported in Flutter is well short, more like HD.
