resolved: <uses-libaray ...> in manifest helped out
On 29 Sep., 11:51, Jakob Sachse <[EMAIL PROTECTED]> wrote:
> sorry, i meant a tool for browsing .dex files. apk's are zip
> compatible.
>
> On 29 Sep., 11:43, Jakob Sachse <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I am trying to get java.beans (the apache harmony module) and
> > org.apache.commons.beanutils deployed.
> > Its a dependence that I have to deliver. I have all the sources in my
> > project. I am using a generated ant build script to compile the
> > project, because i have to use the --core-library option for
> > transforming java.beans classes to dex.
>
> > During the ant build process I am getting warnings:
>
> > - Z:\workspace\UTIScxml\src\org\apache\commons\beanutils
> > \BeanUtilsBean.java:49: warning: unmappable character for encoding
> > ascii
>
> > and tons of:
>
> > - warning: Ignoring InnerClasses attribute for an anonymous inner
> > class that doesn't come with an associated EnclosingMethod attribute.
> > (This class was probably produced by a broken compiler.)
>
> > But the build is successful, the app is installed. When i start it my
> > app I get:
>
> > WARN/dalvikvm(264): VFY: unable to find class referenced in signature
> > ([Ljava/beans/PropertyDescriptor;)
> > WARN/dalvikvm(264): VFY: unable to resolve virtual method 278: Ljava/
> > beans/PropertyDescriptor;.getName ()Ljava/lang/String;
> > WARN/dalvikvm(264): VFY: rejecting opcode 0x6e at 0x00b7
> > WARN/dalvikvm(264): VFY: rejected Lorg/apache/commons/beanutils/
> > BeanUtilsBean;.copyProperties (Ljava/lang/Object;Ljava/lang/Object;)V
> > WARN/dalvikvm(264): Verifier rejected class Lorg/apache/commons/
> > beanutils/BeanUtilsBean;
>
> > I did some debugging and found the root cause being a
> > java.lang.NoClassDefFoundError , detailed Msg:
> > org.apache.commons.beanutils.BeanUtilsBean.
>
> > But the .java file is in project. Inside the /bin folder there is also
> > the compiled .class file. I don't know how to check for it inside
> > the .apk. Is there a tool for browsing apk's ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---