Fail to find annotations.jar after updating to ADT 23

前端 未结 9 1339
無奈伤痛
無奈伤痛 2020-12-05 12:52

So, seeing that the new Android L is out, I said I should give it a try. I installed the new ADT update from SDK tools and then from the updates. After Eclipse restart, I ge

9条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-05 13:15

    I have already answered it here : https://stackoverflow.com/a/25785428/2178259

    I think Google has changed the location of that jar file from /extras/android/support/annotations.jar to /extras/android/support/annotations/android-support-annotations.jar

    To solve this issue, I followed these steps on all projects and libraries in my workspace using this jar:

    • Just removed the file from Java Build Path -> Libray Tab,
    • then Add External Jars
    • Chose file from the given location above.

提交回复
热议问题