gavinpugh / vs-android

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

Update for r9? #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
error : vs-android requires at least the r8e version of the NDK installed.
error : Also, check that your ANDROID_NDK_ROOT path is correct!
error : It's currently: 'C:\dev\android-ndk-r9b'

I have r9b installed, and it can see the path correctly. Doesn't like it though.

Original issue reported on code.google.com by turkey...@gmail.com on 5 Nov 2013 at 1:16

GoogleCodeExporter commented 9 years ago
I've hit this too and it's not an issue with the path, it's due to the check in 
C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Android\Microsoft.Cpp.Android.targets
 that checks for 
$(AndroidNdkDir)\toolchains\arm-linux-androideabi-clang3.2\config.mk - whereas 
r9b includes clang3.3.

You need to go back to the NDK page 
(http://developer.android.com/tools/sdk/ndk/index.html#download) and download 
the legacy toolchains. That fixed it for me.

Original comment by richjfor...@gmail.com on 7 Nov 2013 at 3:24

GoogleCodeExporter commented 9 years ago
Legacy Toolchains are no longer available with the latest NDK(r9c)

Original comment by ago...@gmail.com on 22 Dec 2013 at 3:35

GoogleCodeExporter commented 9 years ago
Yep, just found this too. The best fix for now is to edit both 
Microsoft.Cpp.Android.targets files and change the following:

    <Error Condition="!exists('$(AndroidNdkDir)\toolchains\arm-linux-androideabi-clang3.2\config.mk')"

to 

    <Error Condition="!exists('$(AndroidNdkDir)\toolchains\arm-linux-androideabi-clang3.2\config.mk') and !exists('$(AndroidNdkDir)\toolchains\arm-linux-androideabi-clang3.3\config.mk')"

Original comment by richjfor...@gmail.com on 23 Dec 2013 at 4:30

GoogleCodeExporter commented 9 years ago

Original comment by gavin.dj.pugh on 3 Jan 2014 at 6:14

GoogleCodeExporter commented 9 years ago
Fixed in the new v0.96.

Original comment by gavin.dj.pugh on 4 Jan 2014 at 8:28