Import org.acra.* into android project gives error

2019-07-31 01:38发布

问题:

I want to add ACRA into android project. I do the steps according to the link: http://code.google.com/p/acra/wiki/BasicSetup

I added jar file to the lib folder in the project and I added it to build. But when I try to add some ACRA's rows in the java code like

import org.acra.*

or

ACRA.init(this);

I receive the errors in Eclipse. So, how can I remove this errors? Thanks.

回答1:

Re-add the jar file again and a Project->Clean should take care of it.