Fork me on GitHub
#clojure-android
<
2016-09-02
>
dhruv113:09:57

Developing Android Apps using clojure: I keep seeing this error:

WARNING: CIDER requires nREPL 0.2.12 (or newer) to work properly
         More information.
WARNING: CIDER's version (0.13.0-snapshot) does not match cider-nrepl's version (nil). Things will break!
         More information.
WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.3.0-SNAPSHOT (package: 20160621.902) and n/a, respectively.
You can mute this warning by changing cljr-suppress-middleware-warnings.
Here is what my ~/.lein/profiles.clj file looks like:
{:repl {:dependencies [[org.clojure/tools.nrepl "0.2.12"]]
        :plugins [[cider/cider-nrepl "0.13.0"]]
        }}
Cider version: "CIDER 0.13.0snapshot (package: 20160623.12)" ;; Does this happen to everyone? Is there a way around this?

dhruv114:09:38

hmm. , i now run into another issue. It doesn’t compile and i get the following error:

Compiling cider.inlined-deps.fipp.v0v6v4.fipp.ednize
Exception in thread "main" java.lang.RuntimeException: Unable to resolve var: clojure.instant/thread-local-utc-date-format in this context, compiling:(cider/inlined_deps/fipp/v0v6v4/fipp/ednize.clj:58:13)
       	at clojure.lang.Compiler.analyzeSeq(Compiler.java:6740)
       	at clojure.lang.Compiler.analyze(Compiler.java:6534)

dhruv114:09:06

i changed my profile.clj file to this: ` {:android-user {:plugins [[cider/cider-nrepl "0.13.0"]] :dependencies [[org.clojure/tools.nrepl "0.2.12"]] :android {:aot-exclude-ns ["cider.nrepl.middleware.util.java.parser" "cider.nrepl" "cider-nrepl.plugin"]}}}