找不到项目文件"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.