eclipse - An internal error occurred during: "Running Android Lint"

概述

  也不晓得为什么,编译eclipse,设置打开,就自动报错: An internal error occurred during: "Running Android Lint"

solution

打开 eclipse根目录下的 'eclipse.ini'文件,将有'-Xms'和'-Xmx'的两行进行修改,

将原内容

 1 -startup
 2 plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
 3 --launcher.library
 4 plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502
 5 -product
 6 org.eclipse.epp.package.jee.product
 7 --launcher.defaultAction
 8 openFile
 9 --launcher.XXMaxPermSize
10 256M
11 -showsplash
12 org.eclipse.platform
13 --launcher.XXMaxPermSize
14 256m
15 --launcher.defaultAction
16 openFile
17 -vmargs
18 -Dosgi.requiredJavaVersion=1.5
19 -Xms40m
20 -Xmx512m
View Code

修改为

 1 -startup
 2 plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
 3 --launcher.library
 4 plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502
 5 -product
 6 org.eclipse.epp.package.jee.product
 7 --launcher.defaultAction
 8 openFile
 9 --launcher.XXMaxPermSize
10 256M
11 -showsplash
12 org.eclipse.platform
13 --launcher.XXMaxPermSize
14 256m
15 --launcher.defaultAction
16 openFile
17 -vmargs
18 -Dosgi.requiredJavaVersion=1.5
19 -Xms512m    <--修改这行-->
20 -Xmx1024m    <--修改这行-->
View Code

 不过还是没有解决.

posted @ 2014-11-29 13:10  wonkju  阅读(856)  评论(0)    收藏  举报