Java Question addstatesfromchildren already exist

grguido

New Member
Licensed User
Longtime User
hi to everyone.

I created a library with eclipse using mapsforge libraries. It's all ok, I created a MapViewer.jar and MapViewer.Xml, but when I append this library in my b4a project I recive error: An error occurred. Error parsing libraries. org.mapsforge.android.maps.MapView.addstatesfromchildren already exist.

Can someone help me?

Thank you:BangHead:
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
You do not need to generate XML definitions for classes not exposed by your wrapper.

You can either add @Hide annotation to such classes or in this case you can use the -b4aignore parameter in the second screen of the Javadoc tool:
SS-2013-04-08_09.26.05.png


In this case all classes that start with org, com.android, com.example or com.jcraft are ignored.
 

grguido

New Member
Licensed User
Longtime User
addstatesfromchildren

Thank you Erel, today I'll try to hide all unused class.

Guido
 
Top