无法解析目标“android-19” [英] Unable to resolve target 'android-19'

查看:114
本文介绍了无法解析目标“android-19”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用Android API 19.我改变了project.properties文件 target = android-19 。在AndroidManifest.xml中。我有这个:

I want to work with Android API 19. I changed inside project.properties file target=android-19. In AndroidManifest.xml. I have this :

<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="19" />

但是在项目属性中,我有这样的:

But in project properties I have this :

如何将API级别更改为19,以摆脱标题错误。
谢谢。

How can I change API level to 19 there to get rid of the error in the title. Thanks.

推荐答案


  1. 转到Windows - > Android SDK Manager
    安装所需的Android API级别,在这种情况下为19。

  1. Go to Windows -> Android SDK Manager Install the Android API Level you want, in this case 19.

安装完成后,转到窗口 - >首选项 - >Android 。
您应该获得可用目标的列表。点击应用,然后点击确定。

Once you've finished installing, go to Window -> Preference -> Android. You should get a list of available targets. Click 'Apply' then 'Ok'.

现在右键单击您的项目,转到属性。点击Android。选择您想要的目标。

Now right click your project, go to properties. Click Android. Choose your desired target.

这篇关于无法解析目标“android-19”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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