I've just started with development on android myself, but from what
I've read on the internets, you could probably write a .dex loader in
the default classes.dex (which will be loaded when you start your
application) and write your actual program in other .dex files. This
way you'll be able to compile the entire clojure system into the
classes.dex and will only have to update your custom .dex files.
This is actually something I'm currently trying to get to work.
For further info, see:
http://code.google.com/p/android/issues/detail?id=7147
http://developer.android.com/reference/dalvik/system/DexClassLoader.html

On May 28, 4:12 pm, Matt Clark <matt.clar...@gmail.com> wrote:
> I'm new to Android, but I've been wanting to give it a try for a while
> so I thought I'd try using Clojure's master branch.  It all seems to
> be working fairly well except the dex stage of installation takes
> around 2 minutes for a simple Hello World app.  How do others get
> around this lag?
>
> I'm pretty sure it's caused by the large clojure.core namespace, as
> I've already taken everything else that I can out of the clojure jar
> file.  I'm just not sure if there's anything else I can do.  I am
> using emacs and android-mode, if that is of any help.  I've also tried
> giving it more memory as suggested 
> here:http://groups.google.com/group/clojure/msg/c38e015582cf7623
>
> Thanks a lot
>
> Matt

-- 
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