简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM