1、导入工程 invalid project description
解决方法:
Go to "%ECLIPSE_HOME%\configuration\.settings" and delete the workspace listed at the key RECENT_WORKSPACES
Restart Eclipse, go to File>Switch Workspace>Other... and select your workspace dir again
Now I could create new projects as always
2、sdk版本与adt不一致
解决方法:
step1、首先,进入sdk目录/build-tools,查看sdk的版本
step2、在Android Dev Tools上下载匹配的adt
step3、eclipse——>Help——>Install New Software
3、sdk下载android5.0及以上的版本,创建相应的工程报错
Parsing Data for android-21 failed Unsupported major.minor version 51.0
同时会多创建appcompat_v7工程,该工程也会报错
No resource found that matches the given name
解决方法:
同时,创建的工程 minSdkVersion最好在android4.1以上