android - taskdef class proguard.ant.ProGuardTask cannot be found using the classloader AntClassLoader[] -
after upgrading sdk android l, encounter problem when building android project ant.
error output:
/users/dreamtale/develop/android-sdk-macosx/tools/ant/build.xml:828: taskdef class proguard.ant.proguardtask cannot found using classloader antclassloader[]
anyone face same problem?
it seems in new update tools directory not contain proguard folder anymore, , build.xml script not find proguard jar file. until official fix given, can workaround issue following:
- donwload proguard http://proguard.sourceforge.net/. had v 4.8 , worked.
- unzip proguard archive {sdk.dir}/tools , rename folder "proguard"
- try again
Comments
Post a Comment