clojure-android / lein-droid

A Leiningen plugin for building Clojure/Android projects
Eclipse Public License 1.0
645 stars 56 forks source link

[OSX] .DS_Store files causing "lein droid doall" errors. #80

Closed benmathes closed 10 years ago

benmathes commented 10 years ago

Some part of doall complication is using the output from ls in the android sdk folders, and picking up OSX's .DS_Store files. For example, this error:

$ lein droid doall
Generating R.java...
The path /path/to/android/sdk/build-tools/.DS_Store/aapt doesn't exist. Abort execution.

A workaround: just rm the offending .DS_Store files and you'll be all set.

alexander-yakushev commented 10 years ago

This is a terrible crutch, and I was sure it would backfire sooner or later. Seems like the directory name is consistent now (mine is 19.0.0) but I'll wait a little more and gather more info.

Until then, I've patched the code to get the first directory, not just the first file. Thanks for reporting.

benmathes commented 10 years ago

Thanks for the quick response, Alexander