Sunday, August 8, 2021

Flutter: Unable to find bundled Java version

Let's say you try to run your flutter app in a simulator and failed.
When you run "flutter doctor", you get this message: "Unable to find bundled Java version".
What you need to do is to duplicate the Contents directory into a directory called jdk [1].
$ cd /Applications/Android\
$ mkdir jdk
$ cp -R Contents ./jdk/Contents

No comments :

Post a Comment