工程版本问题

导入的工程的安卓版本,在本机上面都有对应的平台,报错如下:

Error:Cause: failed to find target with hash string 'android-22' in: E:\SDK
<a href="install.android.platform">Install missing platform(s) and sync project</a>

 

修改app目录下面的build.gradle文件,将

compileSdkVersion 22
buildToolsVersion "22.0.2"

改为本机上面安装的SDKVersion和编译工具版本。
posted on 2016-04-16 11:50  2013551627  阅读(335)  评论(0编辑  收藏  举报