找不到项目文件“san-angeles"中引用的平台“Android" [英] Platform 'Android' referenced in the project file 'san-angeles' cannot be found

查看:23
本文介绍了找不到项目文件“san-angeles"中引用的平台“Android"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图运行 Visual Studio 2010 和 Android 的San-angeles"示例,所以当我双击 .sln 文件时,我收到了 2 个警告:

i was trying to run the "San-angeles" example of Visual Studio 2010 and Android so when i double-clicked the .sln file i got 2 warnings :

1) C:\vs-android_samples\san-angeles\san-angeles.vcxproj:警告:无法找到项目文件san-angeles"中引用的平台Android".请确保您已将其安装在%VCTargetsPath%\Platforms\Android"下.

1) C:\vs-android_samples\san-angeles\san-angeles.vcxproj : warning : Platform 'Android' referenced in the project file 'san-angeles' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\Android'.

2) C:\vs-android_samples\san-angeles\san-angeles.vcxproj:错误:无法找到项目文件san-angeles"中引用的平台Android".请确保您已将其安装在%VCTargetsPath%\Platforms\Android"下.无法加载项目.

2) C:\vs-android_samples\san-angeles\san-angeles.vcxproj : error : Platform 'Android' referenced in the project file 'san-angeles' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\Android'. The project cannot be loaded.

什么也没有加载....

and nothing is loaded ....

我有:

  • VS 2010 - c:/程序文件
  • Android ndk r7 - c:/
  • apache 蚂蚁 1.8.2 - c:/
  • Android 示例San-Angeles" - c:/

我在这里遗漏了什么吗?!!

am i missing something here ?!!

推荐答案

我在这里遗漏了什么吗?!!

am i missing something here ?!!

是的,您错过了解释它在何处查找 vcxproj 文件的错误...

Yes, you're missing the error which explains where it's looking for the vcxproj file...

请确保您已将其安装在%VCTargetsPath%\Platforms\Android"下.

Please make sure you have it installed under '%VCTargetsPath%\Platforms\Android'.

您似乎有两个选择 - 更改San-Angeles"示例的位置以匹配 %VCTargetsPath% 环境变量设置的任何路径,或者更改该环境变量以指向路径安装示例的位置.

It seems you have two choices - either change the location of the "San-Angeles" example to match whatever path the %VCTargetsPath% envar is set to or change that envar to point at the path where you have the sample installed.

这篇关于找不到项目文件“san-angeles"中引用的平台“Android"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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