Ken Restivo
unread,Dec 2, 2015, 10:05:42 PM12/2/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to clojure...@googlegroups.com
I've been having trouble getting a project to compile with new lein-droid, using this dependency:
> [com.android.support/support-v4 "13.0.0"]
I'm getting a compile error of:
> Exception in thread "main" java.lang.ClassNotFoundException: android.app.Activity.android.support.v4.content.LocalBroadcastManager, compiling:(service.clj:29:1)
I looked in the classpath with lein-tree, and I'm seeing that the library is in fact on the classpath:
> [cheshire "5.5.0"]
> [cider/cider-nrepl "0.9.1"]
> [com.android.support/support-v4 "13.0.0"]
> [neko "4.0.0-alpha5" :exclusions [[org.clojure-android/clojure]]]
> [org.clojure-android/clojure "1.7.0"]
> [org.clojure/tools.nrepl "0.2.10"]
> [utilza "0.1.73"]
>
I can look into that jar too, and I can clearly see that the class is there!
But, for some reason, the compiler or JVM is not finding the class.
Not sure what's going on here. Any ideas?
Yes, I'm trying to build for target-version 14. I have to support old devices.
-ken