Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Plea

From Evernote: Eclipse总出这个错误You must restart adb and Eclipse.The connection to adb is down, and a severe error has occured. 
 You must restart adb and Eclipse. 
 Please ensure that adb is correctly located at 'D:/ android-sdk-windows/tools/adb.exe' and can be   executed. 
  试了几种方法都不行,于是,从网上找到了这个解决办法,写个博客,以便以后出来这个问题时快速解决。解决办法如下: 

  1.查看任务管理器,关闭所有adb.exe 
  2.重启eclipse即可 
  今天,我又遇到了同样的问题,但是采用上面的解决办法没有解决,于是在网上找呀找,解决办法如下: 
  直接重启电脑,然后运行SDK下面的SDK Manager.exe,选择Virtual devices,启动一个模拟器即可。 

另一个EEROR:

       在更新Android SDK后,经常会遇到一个 “SDK Manager:failed to install” “Tools Can't Write” 之类的说Tools文件不能写的错误。如果安装过程中提示“SDK Manager:failed to install”,不要急,先退出,然后

1.进入sdk的temp文件夹,会有一个下载好的tools_r06-windows.zip(名字可能有一点不一样)
2.解压此文件,出现tools_r06-windows文件夹
3.进入,直接将tools_r06-windows里的所有文件复制并覆盖掉sdk根目录的tools文件夹中的文件

猜你喜欢

转载自6600s.iteye.com/blog/1843072
今日推荐