felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angelo van der Sijpt <angelo.vandersi...@luminis.eu>
Subject Re: Problem when exporting system packages from Android to bundles
Date Mon, 02 Apr 2012 08:39:41 GMT
This could have something to do with the way you instantiate your framework, _or_ with the
way your bundle is packaged.
Could you post (a) your framework instantiation code, and (b) the manifest of your bundle?

Angelo


On Apr 2, 2012, at 10:18 AM, M. van Ree wrote:

> Hello all,
> 
> I have a problem when trying to make the Android lib available to my OSGi
> bundles.
> The error I'm getting is:
> 
> 04-02 08:03:00.351: W/dalvikvm(18531): Method mismatch: onDraw in
> Lcom/osgi/integration/drawbundle/DrawView; (cl=0x4067bb40) and super
> Landroid/view/View; (cl=0x0)
> 04-02 08:03:00.391: W/System.err(18531): Caused by: java.lang.LinkageError:
> Classes resolve differently in superclass
> 
> Off course I can see the cl=0x0, so that must be the culprit, but I have no
> idea on how to get it fixed...
> I'm exporting the packages as following in a properties class:
> 
> private static final String ANDROID_PACKAGES_FOR_EXPORT =
> ("android; " +
> "android.app;" +
> "android.content;" +
> "android.database;" +
>                                         etc. etc. );
> 
> I'm really drawing a blank here on what could be wrong, I would expect to
> receive an error on exporting/importing something empty that would point me
> in the right direction, but it doesn't seem to be the case.
> Who can tell me what I'm doing wrong here?
> 
> 
> Regards,
> Maurice



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message