启动ADT建立project的时候提示错误。
Errors occurred during the build.
Errors running builder 'Android Pre Compiler' on project 'testAndroid'.
java.lang.NullPointerException
和
Errors occurred during the build.
Errors running builder 'Android Resource Manager' on project 'testAndroid'.
java.lang.NullPointerException
该问题是因为没有添加 appcompat_v7 导致的。添加步骤:
一、导入appcompat_v7.
导入"android_sdk/extras/android/support/v7".
二、添加Library.点击你新建的项目.
Proerties——>Android——>Library——>Add——>appcompat_v7.