Fast-forward to today, I updated to v9 and attempted to build my application developed with v7 and immediately was faced with the following error while attempting a build;
user@River:~/AndroidDev/SpinTheBottle$ make clean
ant clean
Buildfile: /home/user/AndroidDev/SpinTheBottle/build.xml
BUILD FAILED
/home/user/AndroidDev/SpinTheBottle/build.xml:46: taskdef class com.android.ant.SetupTask cannot be found
using the classloader AntClassLoader[]
Total time: 0 seconds
make: *** [clean] Error 1
Google advised me that I only needed to update my project by executing the following command;
$ android update project --path ~/AndroidDev/SpinTheBottle
Re-building was then successful.
Cheers.
No comments:
Post a Comment