错误:无法解析目标的机器人-2' [英] Error:Unable to resolve target 'android-2'

查看:161
本文介绍了错误:无法解析目标的机器人-2'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

[2011-02-10○点14分34秒 - newproject]无法解析目标的机器人-2

[2011-02-10 00:14:34 - newproject] Unable to resolve target 'android-2'

和newproject Java和XML文件的简化版,有任何错误,但该项目是错误的,当我输入了什么问题,它

and the newproject java and xml files does't have an any error but the project is in error from when i import what problem in it

推荐答案

问题是不是在你的Java或XML code。你必须改变在目标 default.properties 文件在你的项目。

Problem is not in your Java or XML code. You have to change the target in your default.properties file in your project.

在这里,你必须更改以下行:

Here you have to change the following line:

target=android-2

下面的数字2再presents要运行应用程序的平台的API级别。

Here the digit 2 represents the API level of the Platform you want to run your application.

所以使用要运行的API的价值。

So use the value of the API you want to run.

一样,如果我跑我的Andr​​oid 2.3的应用程序,然后我用目标=机器人-9

Like if I run my application on Android 2.3 then I use target=android-9

请参考: API级别

这篇关于错误:无法解析目标的机器人-2'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆