Android 4.0 Eclipse compilation failed

跟風遠走 提交于 2019-12-03 16:46:50

Are you by chance using Maven and the m2eclipse-android-integration plugin for Eclipse? I am seeing the exact same error since upgrading to sdk r14, however I am still targeting by build for Android 2.2. My project builds and deploys to the emulator when I run the maven build from the command line:

mvn clean install android:deploy

The fact that it works outside of Eclipse makes be believe that it is the m2eclipse-android-integration plugin that is causing the problem. I've looked at their site (link) and it looks like it has changed significantly since I started using it. Maybe upgrading that will help, I haven't tried that yet. I'll let you know.

If you are using eclipse for android app development then you should have to install apache maven plugin for eclipse it will solve all dependency problem Follow this link for install plugine

https://code.google.com/p/q4e/wiki/Installation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!