Ah yes, applying the commits onto clojure master worked. Thanks!

On May 29, 2:06 pm, Remco van 't Veer <rwvtv...@gmail.com> wrote:
> The dalvikvm does not run java classes and has a different instruction
> set.  That's why you need to do the dex step before deploying your code
> on android.
>
> George Jahad did get a repl/eval to run on android some time ago.  See:
>
>  http://groups.google.com/group/clojure/browse_thread/thread/14725172c...
>
> And the revelant commit in his clojure fork:
>
>  http://github.com/GeorgeJahad/clojure-android/commit/9caf2913a2724c38...
>
> On 2010/05/29 05:44, MHOOO wrote:
>
> > I've got 1.2.0-master running on android froyo with a repl. Froyo
> > supports JIT compilation, but whenever I call code which is defining a
> > new class (e.g.: "(defn blub [] nil)"), I get an Exception:
> > -------------------------------------------------------------
> > clojure.core=> (defn blub [] 1)
> > java.lang.RuntimeException: java.lang.UnsupportedOperationException:
> > can't load this type of class file (NO_SOURCE_FILE:15)
> > clojure.core=>
> > -------------------------------------------------------------
> > And the following error inside the android logs:
> > -------------------------------------------------------------
> > E/dalvikvm(  522): ERROR: defineClass(0x43e6e188, clojure.core$blub,
> > 0x43f83a58, 0, 984, 0x0)
> > -------------------------------------------------------------
> > Am I doing something wrong/impossible or is there a way to fix this?
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to