Gradle 'Project Name' project refresh failed

0 abdirizak abdalle · September 7, 2015
THIS IS MY ANDROID PROJECT.
the following writting is the error iam getting after launching or running the project and also every time

Error:Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon athttp://gradle.org/docs/2.4/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Unrecognized option: -25Xmx6m

i need quick fix from both the teachers and the experts in the forum.

Post a Reply

Replies

Oldest  Newest  Rating
0 kishor joshi · September 10, 2015
so your heap size is excedding try to assign more heap size as in the box suggested
0 abdirizak abdalle · September 10, 2015
how can i assign more heap? 
and which size would you reccomend me?
0 kishor joshi · September 8, 2015
are you getting error in any line in your program source code
0 abdirizak abdalle · September 8, 2015
no iam getting from the messages at the lower
LOOK THIS PICTURE

/images/forum/upload/2015-09-08/c115542228bfdff2a552ede304966f10.PNG
  • 1

Java / Android Development

107,094 followers
About

Very popular language used to create desktop applications, website applets, and Android apps.

Links
Moderators
Bucky Roberts Administrator