0

I'd really like to implement in my app the touchlist widget, provided here:

https://github.com/commonsguy/cwac-touchlist

So I downloaded it and I imported the project folder in Eclipse; I tried to run as an ant build but I got this error:

Buildfile: C:\commonsguy-cwac-touchlist-af26192\build.xml

BUILD FAILED
C:\commonsguy-cwac-touchlist-af26192\build.xml:49: taskdef class com.android.ant.SetupTask cannot be found
 using the classloader AntClassLoader[]

Total time: 328 milliseconds

What's wrong with what I've done so far? It is driving me crazy...

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
Dharma Dude
  • 559
  • 3
  • 5
  • 17

1 Answers1

1

You have to right-click on your project and choose Properties. On the dialog that opens choose Android from the left and in the Library section choose Add and add the cwac-touchlist project.

This is because cwac-touchlist was converted to an Android Library Project so you have to add it to your own project as a library.

Henrique Rocha
  • 1,737
  • 1
  • 19
  • 29