Getting Gradle error Could not reserve enough space for object heap constantly in Intellij IDEA
Installing 64 bit Java solved it for me
Cordova error could not reserve enough space for 2097152KB object heap
I finally fixed it. I was changing the RAM values in gradles.properties, but when I changed it from -Xmx2048m to -Xmx1024m in C:\Users\mauro\Projects\App\platforms\android\cordova\lib\config\GradlePropertiesParser, it worked!
Unable to run application with Gradle: Error: Could not find or load main class 1.8
The issue was resolved and I would like to share this knowledge with all those who encounter a similar problem.
In my case, I had to delete two configuration files gradle.experimental.xml and gradle.settings.xml from IDEA configuration directory %IDEA_HOME%\config\options. I suppose they were created at the time when I installed Gradle globally on my PC. Somehow these settings were persisted, even after I removed globally installed Gradle and started to use Gradle's wrapper.
Related Topics
Onclick Method Not Working Properly After Nestedscrollview Scrolled
How to List All Files and Folders Locating on Sd Card
How to Store Object in Sqlite Database
How to Bypass The Firebase Cache to Refresh Data (In Android App)
No Repository Found Error in Installing Adt in Eclipse Indigo
How to Programmatically Pair a Bluetooth Device on Android
How to Set Android Tablayout in The Bottom of The Screen
Help with a Custom View Attributes Inside a Android Library Project
How to Get The Dimensions of a Drawable in an Imageview
How to Close Android Soft Keyboard Programmatically
How to Get Data from Dialogfragment to a Fragment
Firebase Android Onauthstatechanged Called Twice
Programmatically Lock into Portrait Mode for Certain Operations