I think I could find an answer for this. Not sure my conclusions are correct, but this fix worked for me:
In the project.properties file, add the following:
sdk.buildtools=<something lower than 24.x>
In my case, it was 23.0.3.
The final part, someone will correct me if I am mistaken: it seems that the new version of Android Build Tools uses JDK version 1.8. In my case, I use Android Studio and Eclipse (Eclipse for an old project), and Android Studio installed the latest build tools.
Larcho
source share