[mono-android] ActionBarSherlock

Atsushi Eno atsushieno at veritas-vos-liberabit.com
Tue Jun 26 07:22:00 UTC 2012


I seem to have chopped out a lot of context ;-)

As you wrote earlier, ActionBarSherlock is not a single jar library but 
rather an "Android library project" which contains both code jar and 
unpackaged resources.
Surprisingly we actually (claim to) support this kind of Android Library 
project in our Java Binding Library project. We haven't tried 
ActionBarSherlock, so I tried it and found some blocking issue.
The error was due to missing "R" class in the jar file. It turned out 
that Android library project "pulls out" that class from the resulting 
jar, and when we try to bind jar file, it does not exist after all (!).

There was a similar design issue (and expectation for the fix) in our 
binding toolchain that it simply gives up when there was reference to 
any "missing" Java type in the jars in the project and prevents some 
libraries to bind. In case you are curious, see:
http://mono-for-android.1047100.n5.nabble.com/Problem-with-a-wrapper-for-Amazon-in-app-purchases-td5710131.html

I "fixed" those missing R issue by ignoring anything that causes 
NoClassDefFoundError, but there still seems another issue with related 
to nine-patch resources. I'll continue fixing the issue to get it working.

Atsushi Eno

craig wrote:
> Thanks for the reply Atsushi.
>
> Keep up the good work.  What do you mean by  "continue with missing Java
> types" approach.
>
> --
> View this message in context: http://mono-for-android.1047100.n5.nabble.com/ActionBarSherlock-tp5710482p5710515.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>
>




More information about the Monodroid mailing list