[英]Error importing gradle project Eclipse: Target not found
I am trying to import ckChangeLog as a gradle project in Eclipse. 我正在尝试将ckChangeLog导入为Eclipse中的gradle项目。 I have Eclipse Mars and build tool 23.0.1 Android API is installed and is clearly available for other projects. 我已经安装了Eclipse Mars,并且已经安装了构建工具23.0.1 Android API,并且显然可用于其他项目。 Following is the error 以下是错误
FAILURE: Build failed with an exception. 失败:构建失败,发生异常。
master\\android-mvn-push.gradle' line: 57 master \\ android-mvn-push.gradle'行:57
What went wrong: A problem occurred configuring project ':ckChangeLog'. 出了什么问题:在配置项目':ckChangeLog'时发生了问题。
failed to find target android-21 : C:\\Android SDK ADT Bundle - Windows 64 Bits 找不到目标android-21:C:\\ Android SDK ADT捆绑包-Windows 64位
Try: Run with --stacktrace option to get the stack trace. 尝试:使用--stacktrace选项运行以获取堆栈跟踪。 Run with --info or --debug option to get more log output. 使用--info或--debug选项运行以获取更多日志输出。
BUILD FAILED 建立失败
A prompt support will be appreciated I have searched over the web but no solutions seems to work so far 我在网上搜索了及时的支持,将不胜感激,但到目前为止,似乎没有解决方案
I think you might not have the Android-21 sdk installed. 我认为您可能未安装Android-21 SDK 。 You need to install android sdk 21 . 您需要安装android sdk 21 。
Go to Tools > Android > SDK Manager and check to see if API 21 is installed. 转到工具> Android> SDK Manager,然后检查是否已安装API 21 。
通过添加以../sdk结尾的目录来解决问题,例如C:\\ Android SDK ADT捆绑包-Windows 64位\\ sdk
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.