I get this error when trying to compile a project
Execution failed for task ':ToDo:dexDebug'.
com.android.ide.common.internal.LoggedErrorException: Failed to run command: E:\Android Studio\sdk\build-tools\19.0.1\dx.bat --dex --output C:\AndroidStudioProjects\ToDo\ToDo\build\dex\debug C:\AndroidStudioProjects\ToDo\ToDo\build\classes\debug C:\AndroidStudioProjects\ToDo\ToDo\build\dependency-cache\debug Error Code: 1 Output: Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
Tried restarting but it will not compile. Any help?