multiple dex files define landroid/support/annotation/AnimRes

前端 未结 18 1051
太阳男子
太阳男子 2020-11-28 08:00

The moment I added the android support annotations to my dependencies

compile \'com.android.support:support-annotations:20.0.0\'

I got this erro

18条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-28 08:17

    Another reason that messages such as these can come up in Android Studio when building and launching can be the cause of application tags in your libraries.

    If you have several Android Library projects that you imported as modules. Go into those projects and remove the ... tags and everything between them. These can cause issues in the build process along with the support library issues already mentioned.

提交回复
热议问题