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.





Monday, May 23, 2016

Visual Studio 2015 Cordova Project Debug issue

Unable to dubug the cordova project in Visual studio 2015.
To resolve follow below steps 

  1. Close all VS instances
  2. cd %appdata%\Local\Microsoft\Phone Tools” (C:\Users\{UserName}\appdata\Local\Microsoft\Phone Tools )
  3. rename CoreCon folder
  4. Launch VS again.
Now  it will work.