android studio VM error - Could not create Java Virtual Machine - A fatal exception has occured

I tried installing android-studio on ubuntu, but it is giving me this weird error about unrecognized VM option

Here is a screenshot of the exact error

enter image description here

6 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like