概述
也不晓得为什么,编译eclipse,设置打开,就自动报错: An internal error occurred during: "Running Android Lint"
solution
打开 eclipse根目录下的 'eclipse.ini'文件,将有'-Xms'和'-Xmx'的两行进行修改,
将原内容
![](https://img8.php1.cn/3cdc5/1e804/9f3/365511311ac8eb22.gif)
![](https://img8.php1.cn/3cdc5/1e804/9f3/7eca9831d8d2697a.gif)
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
修改为
![](https://img8.php1.cn/3cdc5/1e804/9f3/365511311ac8eb22.gif)
![](https://img8.php1.cn/3cdc5/1e804/9f3/7eca9831d8d2697a.gif)
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 <--修改这行-->
不过还是没有解决.