I am building an android application that references an external library.
The problem is that library uses java.beans.PropertyDescriptor and this causes Dalvik exception at runtime.
How can I solve this problem ? I found on another forum that it was possible to manipulate bytecode to load classes that are not known from Dalvik.
Any suggestions ?
Thanks
Get the source code to the external library and rewrite it to avoid
java.beans.PropertyDescriptor.For example, you could:
java.beans.PropertyDescriptorfrom someplace like Apache Harmonyjava.beans.PropertyDescriptortosome.other.package.PropertyDescriptorsome.other.package.PropertyDescriptorto your projectsome.other.package.PropertyDescriptorBear in mind that there may be many other problems with this library, which apparently was not written with Android in mind.
Since there is no
java.beans.PropertyDescriptoron Android devices, this will not help you.