Android Dex: UNEXPECTED TOP-LEVEL EXCEPTION: Already added

后端 未结 6 2463
傲寒
傲寒 2020-12-10 10:06

My app depends on a library project. This library project depends on the Android Compatibility Package V4. I have NOT exported the library project\'s depend

6条回答
  •  没有蜡笔的小新
    2020-12-10 10:50

    In my case, I had just updated one of the JARs in the libs/ folder to a new version.

    All it took to fix it was to run Build -> Rebuild Project, i.e. issue a 'clean' task before the 'assembleDebug' etc.

提交回复
热议问题