GIT submodules in android project causes “Unable to ignore resources” error

梦想的初衷 提交于 2020-01-04 02:26:08

问题


I am using eclipse with ADT. Also I have android project with GIT submodules. Until I updated ADT this works very well. I don't clearly remember last ADT version, but it is about 18. Since I updated ADT I get this errors:

java.lang.IllegalArgumentException: Attempted to beginRule: F/Project/ActionBarSherlock/actionbarsherlock/gen, does not match outer scope rule: MultiRule[F/actionbarsherlock/gen]

with message:

Unable to ignore resources

Sometimes I can't export signet package, but this is totally random case, because after a fail I restart Eclipse and try again and in 3-5 attempts it works. But this procedure very annoying me.

How I can deal with it?


回答1:


It seams to be a bug in EGit Eclipse plugin... i had the same problem and error message and i solved updating my EGit plugin for Eclipse... In other way... if you are using a custom Eclipse IDE like ADT, JBoss Studio Developer 7,e etc... try updating it... sometimes custom IDE's include EGit plugin inside... and you only need to update the IDE from menu "Help" -> "Check for Updates" or downloading a new IDE version...

If you want, you could read the bug on this link: enter link description here

And the fix release: enter link description here

Regards



来源:https://stackoverflow.com/questions/18098879/git-submodules-in-android-project-causes-unable-to-ignore-resources-error

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