Wednesday, June 1, 2016

ERROR: build.xml:taskdef A class needed by class com.android.ant.GetUiTargetTask cannot be found: com/android/utils/ILogger


ERROR:
~/.buildozer/android/platform/android-sdk-XX/tools/ant/build.xml:taskdef A class needed by class com.android.ant.GetUiTargetTask cannot be found: com/android/utils/ILogger

Context:
Running ant debug for buildozer



SOLUTION:

  1. Back up the Lib folder in /usr/share/ant (check by using whereis ant) of original ant installation.
  2. Make a link of ~/.buildozer/android/platform/android-sdk-XX/tools/lib and copy it to /usr/share/ant so that /usr/share/ant/lib points to ~/.buildozer/android/platform/android-sdk-XX/tools/lib




If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged

No comments:
Write comments