O
O
Oleg Gamega2015-06-10 21:34:01
Android
Oleg Gamega, 2015-06-10 21:34:01

Android Studio 1.3 how to set up?

Hello.
Android Studio 1.3 doesn't support gradle jvm settings at IDE level, now everything should be in gradle.properties
here is my file

# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
 org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
org.gradle.parallel=true

but still getting error
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 at http://gradle.org/docs/2.4/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

who set up Android Studio 1.3 how to beat the tambourine correctly? ))

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Kamolov, 2015-06-10
@dintsec

Here is the answer . Will you translate yourself?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question