Android gradle build and the support library

后端 未结 5 894
梦毁少年i
梦毁少年i 2020-12-14 06:27

I have a project that uses a few other library projects (SlidingMenu, ActionbarSherlock) and both of these use the android support library, when building I am getting the fo

5条回答
  •  误落风尘
    2020-12-14 06:41

    The ADT will throw an exception like UNEXPECTED TOP-LEVEL EXCEPTION if your Eclipse classpath contains more than one class of the same name/package/jars. In this case it is encountering more than one instance of the LoaderManager class.

    Solution : You have same jar library included twice. Check your application and all referenced Android libraries and make sure you have all jars included exactly once.

提交回复
热议问题