Android Build fail - java.lang.IllegalArgumentException: already added: Lcom/google/api/client/escape/CharEscapers;

后端 未结 8 786
没有蜡笔的小新
没有蜡笔的小新 2020-12-08 03:49

I just prepare small update for my android app, but I get this strange bug when I try to build my app (in debug mode). It will be great if someone smarter could look at this

8条回答
  •  北荒
    北荒 (楼主)
    2020-12-08 04:25

    I got this error after upgrading to R17.

    My cause was different (ie not the *_src issue that occurred in R15). I had two different versions of a library in my "libs" folder. It appears that the Android plugin now automatically adds any jars in "libs" to the "Android Dependencies" section in the Package Explorer. Removing the old jar fixed the problem.

提交回复
热议问题