sure, as I mentioned above I was eagerly trying to deploy java.beans
(the harmony module) and commons.beanutils.
I need those as dependencies (alongside lots of others) that I have to
solve for getting commons.scxml up running.

I started of by using java.beans and org.apache.commons.beanutils
included as jar files. No success, the NoClassDefinitionError
came up all the time. Next I included the sources so that i could so
some debugging.

Turned out that there were lots of problems inside both the packages.
(Lots of references to java.awt and java.swing)
So I had to cut those off. I deleted sources that I didn't need and
manipulated those I need. Finally the ant build was successful.

Still there was that tricky NoClassDefinitionFoundError, thrown by
PathClassLoader. I was very unsatisfied then. Yesterday just before
sleeping
I had to think of the <uses-library> tag I have seen in combination
with java.awt around here. I totally forgot that today, but when I was
stuck
with the same error today it came to me again. I inserted:

<uses-library android:name="org.apache.commons.beanutils" />
<uses-library android:name="java.beans" />

just before </manifest> closes. Compiled, Installed and didn't really
think of success, so i just hit F8 (debugging, run) all the time. I
could hardly belive my eyes
but the statemachine began working.

Thats it.

On 29 Sep., 15:03, Mark Murphy <[EMAIL PROTECTED]> wrote:
> Jakob Sachse wrote:
> > resolved: <uses-libaray ...> in manifest helped out
>
> If you have the time, could you provide more details?
>
> Thanks!
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.3 Published!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to