gavinpugh / vs-android

Integrated development of Android NDK C/C++ software with Microsoft Visual Studio.
Other
119 stars 34 forks source link

NDK min version check fails on android-ndk-r10c #128

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install android-ndk-r10c and set ANDROID_NDK_ROOT to point to it
2. Attempt to build your project
3. Build fails

What is the expected output? What do you see instead?

Expect code to compile

Instead, the following errors are reported:
1>C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Android\Microsoft.Cpp.Android.Targets
(501,5): error : vs-android requires at least the r9c version of the NDK 
installed.
1>C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Android\Microsoft.Cpp.Android.Targets
(501,5): error : Also, check that your ANDROID_NDK_ROOT path is correct!
1>C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Android\Microsoft.Cpp.Android.Targets
(501,5): error : It's currently: 'C:\Software\android-ndk-r10c\'

What version of the product are you using? On what operating system?

vs-android-0.963
Windows 8.1
VS 2010

Please provide any additional information below.

R10c of the NDK does not contain the folder 
toolchains/arm-linux-androideabi-clang3.3 - hence the version check fails
Copying the folder from a previous version of the NDK gets you past this 
problem, and 

Original issue reported on code.google.com by NosPiraa...@gmail.com on 21 Oct 2014 at 1:16

GoogleCodeExporter commented 9 years ago

Original comment by gavin.dj.pugh on 29 Oct 2014 at 9:15

GoogleCodeExporter commented 9 years ago

Original comment by gavin.dj.pugh on 29 Oct 2014 at 9:17

GoogleCodeExporter commented 9 years ago
When will this be corrected?  I just ran across this also

Original comment by nwc576ma...@gmail.com on 30 Oct 2014 at 12:09

GoogleCodeExporter commented 9 years ago
A workaround:
Edit C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Platforms\Android\Microsoft.Cpp.Android.ta
rgets

change clang version to 3.4 in the following line:
<Error 
Condition="!exists('$(AndroidNdkDir)\toolchains\arm-linux-androideabi-clang3.3\c
onfig.mk')"

Original comment by michal.w...@vividgames.com on 7 Nov 2014 at 1:28

GoogleCodeExporter commented 9 years ago
Issue 129 has been merged into this issue.

Original comment by gavin.dj.pugh on 10 Nov 2014 at 5:22

GoogleCodeExporter commented 9 years ago
Issue 132 has been merged into this issue.

Original comment by gavin.dj.pugh on 29 Dec 2014 at 5:53

GoogleCodeExporter commented 9 years ago
Fixed with the v0.964 release that was uploaded today.

Original comment by gavin.dj.pugh on 29 Dec 2014 at 7:17