clojure-android

2026-03-26T10:26:23.581179Z

i haven't done android dev in a while, but i can make an attempt. i see jdk 17+ and android sdk + platform api 35 mentioned https://github.com/clj-android/sample/blob/a31649e5453f98967d57fa3351ef6e21eb1fdcd8/README.md#prerequisites as prerequisites. i'll see if i can get that set up.

2026-03-26T10:45:56.943729Z

oh weird, sha-256 checksum does not match for commandlinetools...

2026-03-26T10:46:13.801649Z

the page says: 48833c34b761c10cb20bcd16582129395d121b27 via: https://developer.android.com/studio#command-tools

2026-03-26T10:46:46.791649Z

i get: 04453066b540409d975c676d781da1477479dde3761310f1a7eb92a1dfb15af7

2026-03-26T10:47:06.785889Z

lol -- they labeled it wrong. that's sha1

2026-03-26T10:47:39.454379Z

wow, such poor quality-control

2026-03-26T10:48:19.912819Z

2026-03-26T11:31:18.541569Z

ok, things seem to be working. i think there's a typo in the sample code in the https://github.com/clj-android/sample/blob/a31649e5453f98967d57fa3351ef6e21eb1fdcd8/README.md#connecting-to-the-nrepl. i currently see:

(require '[com.example.clojuredroid.main-activity :as ui])

(reset! ui/*ui-tree
  [:linear-layout {:orientation :vertical :padding [32 32 32 32]}
   [:text-view {:text "Modified from REPL!" :text-size [24 :sp]}]])

(ui/reload-ui!)
but i think replacing ui/*ui-tree with ui/ui-tree* works better. fwiw, i used cider to test and it worked fine with the aforementioned tweak.

zakwilson 2026-03-26T13:14:00.723939Z

Fixed readme

👍 1