android项目导入eclipse时出现的问题解决

1、Unable to resolve target 'android-20'

    在把项目导入时,输出中报此错误。这是项目sdk版本和eclipse的不同。

    方法:修改项目的target Android版本。然后clean一下。如果还是有错误,就重启一下eclipse就好了。

2、Export aborted bacause fatal lint errors were found

    当点击Android-tools把项目打包成apk时,出现的错误。

    方法:依次preferences-->android-->Lint Error Checking,然后点击取消Run full error check when exporting app and abort if fatal errors are found选项的选勾。

3、Unable to execute dex:GC overhead limit exceeded

    这个是打包过程中途出现的错误。

    方法:需要修改eclipse软件的eclipse.ini文件中的配置。方法链接

猜你喜欢

转载自blog.csdn.net/aianzxy/article/details/80764855