Pradeep
Pradeep

Reputation: 2538

Android android dependencies annotations.jar in ADT 18

I'm using Eclipse indigo, With jdk 1.6.. And I've upadated my Android plugin from ADT 14 to ADT 18, When i create new project or when ever i clean projects Android dependencies with annotations.jar is appearing on my project how do i remove it, this is causing lots problem while adding external jars(Such as java.lang.NoClassDefFoundError exception) ..?

I read this link http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17 he explains about ADT 17. if i rename lib folder to libs, Referenced Libraries will remains in Project

Upvotes: 2

Views: 6693

Answers (2)

Pradeep
Pradeep

Reputation: 2538

I resolved this problem, annotations.jar is a required jar for building android projects.. If u have any TargetApi and SuppressLint annotation in your project then this jar will help u to ignore the specified warnings for the annotated element.

Upvotes: 2

bitristan
bitristan

Reputation: 650

adt18 can automatically link jars, you just need to create folder named "libs", and then copy your jars into that folder, no more operation should you do. Just this easy.

But I think it's a mess change! Hope to help you.

Upvotes: 0

Related Questions