Closed kenrestivo closed 10 years ago
Hello Ken, your guess was right, this field appeared in SDK v14. What version are you trying to build against?
API 13, which is the device I have. Sadly, if clojure Android requires API 14 then I can't use it.
Confirming it builds fine with API 14, thanks. Might be good to have a minimum API level enforced in the compile task. My apologies if the minimum API 14 was mentioned in the docs and I didn't see it.
Well, it is mostly my fault. Minimal SDK bumped to ICS relatively recently. I should certainly put a warning on that.
Can you try targeting SDK 14, but setting minSdkVersion in AndroidManifest.xml to 13? I thought Honeycomb to be fairly compatible with ICS.
That works too. Turns out my device is actually API 14 anyway, (CM 9.1, I thought it was 13, but it's 4.0.4 or 14) so I'm happily using Clojure on Android with Nrepl and amazed. Thanks again!
You are welcome! Glad it works now.
I'll reopen the issue so that I don't forget to update the documentation regarding minimal version.
Put the version requirement first thing in the tutorial. Thanks for help, Ken!
I tried creating a new project following the tutorial using the latest lein-droid, and ran into this:
Sadly I have no idea why. My guess is that perhaps there's a dependency on a newer rev of the SDK than I have? I'll try upgrading that, but documenting it here in case others run into it.