-
Notifications
You must be signed in to change notification settings - Fork 1
Home
This is a forked repository. Have a look at
richhickey’s clojure wiki
for more information.
This is a fork of the clojure master repository modified to run on the android:http://www.android.com platform.
Since android runs its own virtual machine and clojure by default compiles into java vm bytecode, some enhancements had to be done in order to have clojure properly running on the dalvik vm. In particular compiled classes are being put into the /data/clojure directory on the emulator (which must be readable & writeable by everyone).
In order to get clojure running on the (already running) android emulator (where adb is a program somewhere inside your android sdk):
adb shell mkdir /data/clojure
adb shell mkdir /data/clojure/classes
adb shell chmod 777 /data/clojure
adb shell chmod 777 /data/clojure/classes
This will create the necessary directories. Once this is done, you can deploy your android software by installing it using adb.
TODO