Thursday, July 7, 2016

Could not create the Java Virtual Machine - Ionic

Getting error when trying to run app on android device using ionic run android.

"could not create the java virtual machine".

Solution :

Create gradle.properties file in this location C:\Users\username\.gradle

and add a line org.gradle.jvmargs=-Xmx1024m -XX:MaxPermSize=256m in the file.

Now try again.It should work.





No comments: