Well, I managed to solve this after many hours of trying.
First of all, I use Windows 7 with 16 GB of RAM, and that was the path to the system that was truncated! This left me without the correct GRADLE_HOME path.
I manually downloaded the latest version of Gradle -1.7. Android studio 0.2.3 used 1.6, but subsequently, to my manual fix, 0.2.5 uses Gradle -1.7.
I created a system variable: GRADLE_HOME with a value: D: \ gradle -1.7, which points to my Gradle install guide.
I broke my "real path" (before windows truncated it) into "extended" path variables, thereby reducing my actual path and pasting the following at the end of the path:% GRADLE_HOME% / bin;% JAVA_HOME% / bin;
There are many references to accessing a truncated Windows path in stackoverflow. And that was all it took to get it working.
Hope I can help someone else!
Adrian wreyford
source share