[Android]Error executing aapt解决

安装完SDK和ADT时貌似出现些问题。 
Description Resource Path Location Type 
Error executing aapt. Please check aapt is present at C:\Program Files\android-sdk-windows\platform-tools\aapt.exe BeiJingPoliceLB line 1 Android ADT Problem 

解决方法: 
1、Eclipse—>Window—>Android SDK And AVD Manager(或者直接在Android解压目录底下运行SDK Setup.exe)

2、选择installed packages,在右边列表中选择SDK tools ,点击 update all 


还有时候项目出现红色感叹号时候。检查项目是不是引用了第三放jar包;如果用eclipse 
项目----propterties----java build Path---librarites--看是不是有第三方jar。如果未能找到会出现一个错误的。 

猜你喜欢

转载自aigo.iteye.com/blog/1942477