Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Building Workspace Error

I have a project that uses stORM. When i try to open Eclipse downloaded as a Android ADT package. i am getting the following error

enter image description here

Errors occurred during the build.
Errors running builder 'Android Pre Compiler' on project 'stORM'.
java.lang.NullPointerException

I have noticed that if i delete this project from the Workspace Eclipse works fine. Looks like there is some issues with the Annotation Processor of stORM or ADT package.

Any idea how to solve this ?

ADT version

enter image description here

like image 846
Harsha M V Avatar asked Jan 10 '13 06:01

Harsha M V


2 Answers

I solved this issue upgrading the SDK Manager and ADT to the latest preview versions. See here for more information:

Android Pre Compiler error on 21.0.1 android sdk

like image 65
Brent Avatar answered Oct 04 '22 03:10

Brent


WORKAROUND

Hi there! I've been getting the exact same error (latest ADT plugin (21.0.1-543035) and Eclipse 4.2.1).

What helps in my case: I turn off annotation processing in "Project Properties/Java Compiler/Annotation Processing", then restart Eclipse, Clean Project, re-enable annotation processing, Build.

like image 23
Felizett Avatar answered Oct 04 '22 05:10

Felizett