이클립스 실행 시 위와같이 에러가 발생 시


1. JAVA JDK 설치 여부 확인

   설치가 안되어 있다면, 아래 경로에서 다운로드 후 설치

   http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html


2. eclipse.ini에 vm JAVA JDK 경로 추가

   -vm

   C:\Program Files\Java\jdk1.x.0_xx\bin\javaw.exe

저작자 표시 비영리 변경 금지
신고

WRITTEN BY
빅터크룸
머 먹고 사냐.....

받은 트랙백이 없고 , 댓글이 없습니다.
secret
sudo chown -R -v [User_ID] /var/www/


저작자 표시 비영리 변경 금지
신고

WRITTEN BY
빅터크룸
머 먹고 사냐.....

받은 트랙백이 없고 , 댓글이 없습니다.
secret

https://services.gradle.org/distributions/


.....

저작자 표시 비영리 변경 금지
신고

WRITTEN BY
빅터크룸
머 먹고 사냐.....

받은 트랙백이 없고 , 댓글이 없습니다.
secret

Update the Android Plugin for Gradle


When you update Android Studio, you may receive a prompt to automatically update the Android Plugin for Gradle to the latest available version. You can choose to accept the update or manually specify a version based on your project's build requirements.

You can specify the Android Plugin for Gradle version in either the File > Project Structure > Project menu in Android Studio, or the top-level build.gradle file. The plugin version applies to all modules built in that Android Studio project. The following example sets the Android Plugin for Gradle to version 2.1.0 from thebuild.gradle file:

buildscript {
 
...
  dependencies
{
    classpath
'com.android.tools.build:gradle:2.1.0'
 
}
}

Caution: You should not use dynamic dependencies in version numbers, such as 'com.android.tools.build:gradle:2.+'. Using this feature can cause unexpected version updates and difficulty resolving version differences.

If the specified plugin version has not been downloaded, Gradle downloads it the next time you build your project or click Tools > Android > Sync Project with Gradle Files from the Android Studio main menu.

Update Gradle


When you update Android Studio, you may receive a prompt to automatically update Gradle to the latest available version. You can choose to accept the update or manually specify a version based on your project's build requirements.

You can specify the Gradle version in either the File > Project Structure > Project menu in Android Studio, or by editing the Gradle distribution reference in the gradle/wrapper/gradle-wrapper.properties file. The following example sets the Gradle version to 2.10 in the gradle-wrapper.properties file.

...
distributionUrl
= https\://services.gradle.org/distributions/gradle-2.10-all.zip


https://developer.android.com/studio/releases/gradle-plugin.html#updating-plugin

저작자 표시 비영리 변경 금지
신고

WRITTEN BY
빅터크룸
머 먹고 사냐.....

받은 트랙백이 없고 , 댓글이 없습니다.
secret

https://services.gradle.org/distributions/


  1. Right click on start-button and open "System"
  2. Go to Advanced system settings on the left side
  3. Click the button "Environment Variables ..."
  4. In System Variables, click "New..."
  5. New Variable Name: _JAVA_OPTIONS
  6. New Variable Value: -Xmx1024M
  7. Click OK
  8. Restart Window Command or Program


Gradle will detect this option as below.

_JAVA_OPTIONS=-Xmx1024M


저작자 표시 비영리 변경 금지
신고

WRITTEN BY
빅터크룸
머 먹고 사냐.....

받은 트랙백이 없고 , 댓글이 없습니다.
secret