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

查看:184
本文介绍了找不到项目文件"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.

什么也没装....

我有:

  • VS 2010-c:/程序文件
  • Android ndk r7-c:/
  • Apache ant 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% envar设置为的任何路径,或更改该envar指向您安装示例的路径.

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天全站免登陆