JDx
JDx

Reputation: 2655

AndroidPreCompiler build error after updating Android SDK Tools

After updating my Android sdk tools to v21.0.1 I keep getting the AndroidPreCompiler build error with a NullPointerException on every project. I can create a new project no problem but once i add in the files from the broken project it causes this error and none of my projects build.

Does anyone know why this would be? Maybe a problem with the latest sdk tools?

Any help is much appreciated.

Upvotes: 1

Views: 545

Answers (1)

andr
andr

Reputation: 16064

I've once had exact same issue and it turned out to be related to this question: Android Pre Compiler error on 21.0.1 android sdk

The accepted answer posted there:

The Android Pre Compiler in 21.0.1 appears to be badly broken, crashing on .svn directories and .DS_Store files, and files without file extensions.

was the reason in my case. Try updating to the newer ADT if possible.

Upvotes: 1

Related Questions