clojure-android / neko

The Clojure/Android Toolkit
Other
297 stars 36 forks source link

No nrepl on lollipop #40

Closed rhg closed 9 years ago

rhg commented 9 years ago

I got this to work on lollipop as the issue on clojure-android/clojure but nrepl doesn't start because when I try to connect I get a connection refused error. Is this just temporary or is this an issue? Here's my project.clj https://gist.github.com/rhg/b03df0b3c1f6bd92731f

alexander-yakushev commented 9 years ago

The dependencies look correct. I haven't yet tried Clojure on a Lollipop device but the emulator worked fine. Can you start by checking the emulator too?

Also, do you get any messages in adb logcat when you try to connect? Can you see Nrepl started at port 9999 in logs when the application starts?

rhg commented 9 years ago

I tried it in a 4.4.2 emulator and it works I'll get a logcat later today. On Jan 2, 2015 6:34 AM, "Alexander Yakushev" notifications@github.com wrote:

The dependencies look correct. I haven't yet tried Clojure on a Lollipop device but the emulator worked fine. Can you start by checking the emulator too?

Also, do you get any messages in adb logcat when you try to connect? Can you see Nrepl started at port 9999 in logs when the application starts?

— Reply to this email directly or view it on GitHub https://github.com/clojure-android/neko/issues/40#issuecomment-68523797.

rhg commented 9 years ago

When I start the app I do see the nrepl message, this must mean it's failing before accepting the connection. On Jan 2, 2015 2:05 PM, "Ricardo Gomez" ricardo.gomez331@gmail.com wrote:

I tried it in a 4.4.2 emulator and it works I'll get a logcat later today. On Jan 2, 2015 6:34 AM, "Alexander Yakushev" notifications@github.com wrote:

The dependencies look correct. I haven't yet tried Clojure on a Lollipop device but the emulator worked fine. Can you start by checking the emulator too?

Also, do you get any messages in adb logcat when you try to connect? Can you see Nrepl started at port 9999 in logs when the application starts?

— Reply to this email directly or view it on GitHub https://github.com/clojure-android/neko/issues/40#issuecomment-68523797 .

alexander-yakushev commented 9 years ago

So, no relevant log messages at the moment when you try to connect?

Also you are saying you tried with 4.4.2 emulator, can you please try with 5.0 one?

rhg commented 9 years ago

I predict it's throwing an exception, hopefully the log is useful. On Jan 2, 2015 2:15 PM, "Alexander Yakushev" notifications@github.com wrote:

So, no relevant log messages at the moment when you try to connect?

Also you are saying you tried with 4.4.2 emulator, can you please try with 5.0 one?

— Reply to this email directly or view it on GitHub https://github.com/clojure-android/neko/issues/40#issuecomment-68558275.

rhg commented 9 years ago

This is weird, now it's working. And I was ruining lein clean beforehand. On Jan 2, 2015 2:18 PM, "Ricardo Gomez" ricardo.gomez331@gmail.com wrote:

I predict it's throwing an exception, hopefully the log is useful. On Jan 2, 2015 2:15 PM, "Alexander Yakushev" notifications@github.com wrote:

So, no relevant log messages at the moment when you try to connect?

Also you are saying you tried with 4.4.2 emulator, can you please try with 5.0 one?

— Reply to this email directly or view it on GitHub https://github.com/clojure-android/neko/issues/40#issuecomment-68558275 .

alexander-yakushev commented 9 years ago

You mean, you ran lein clean even when the issue still existed?

rhg commented 9 years ago

Yes, I was using lein do clean, droid doall. On Jan 3, 2015 1:53 AM, "Alexander Yakushev" notifications@github.com wrote:

You mean, you ran lein clean even when the issue still existed?

— Reply to this email directly or view it on GitHub https://github.com/clojure-android/neko/issues/40#issuecomment-68586853.

alexander-yakushev commented 9 years ago

Strange. Anyway, good it works now.

rhg commented 9 years ago

Well I did restart my device yesterday after filling this issue. Great work BTW. On Jan 3, 2015 2:02 AM, "Alexander Yakushev" notifications@github.com wrote:

Strange. Anyway, good it works now.

— Reply to this email directly or view it on GitHub https://github.com/clojure-android/neko/issues/40#issuecomment-68586987.

alexander-yakushev commented 9 years ago

Thank you! I will close this for now. Feel free to reopen if you get the same issue again.