Bug 15494 - Android ndk error does not appear in Error List of VS.
Summary: Android ndk error does not appear in Error List of VS.
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: dean.ellis
URL:
Depends on:
Blocks:
 
Reported: 2013-10-18 14:14 UTC by Mohit Kheterpal
Modified: 2016-08-03 15:24 UTC (History)
8 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Mohit Kheterpal 2013-10-18 14:14:24 UTC
Steps to Reproduce :
1. Create Android Application
2. Select Release mode.
3. Select 'Bundle Assemblies into native code' in project properties under Mono
Android options. 
4. Deploy application on device.
5. Application does not deploy on device and gives error.

Actual Result : Observed that Error List appears empty. However, we get "error XA5101: Missing Android NDK toolchains directory" in build output.

Expected Result : Error should be appear in Error list.

Screencast :http://screencast.com/t/6Hc2O9nXtszz

Build output log :https://gist.github.com/saurabh360/ba69fded660e70ac1cac

Environment info : 
VS 2012 / 2013
X.Android 4.10.00009
Comment 1 PJ 2013-10-18 14:24:30 UTC
Not for 4.10.0, but perhaps for 4.10.1
Comment 2 dean.ellis 2013-10-31 13:19:28 UTC
I put a 'fix' in for this, we need to revisit after the release.

XamarinVs/master/7165c352d0
Comment 3 Peter Collins 2013-11-11 19:07:05 UTC
I'm able to deploy to device with release + bundle assemblies into native code on 4.10.01066 (a4600bcf). However I'm going to leave the bug in "resolved" as per comment 2. I'm assuming Dean will still want to revisit this change.
Comment 4 Mohit Kheterpal 2013-11-14 10:55:19 UTC
Today we have checked this issue with following builds :

VS 2013 
X.Android 4.10.01073

Now when android ndk is not available and user try to deploy application then Error "error XA5101: Missing Android NDK toolchains directory '\toolchains'. Please install the Android NDK." appears in Error list.

Screencast : http://screencast.com/t/QhJdSa0fK

Hence closing this issue
Comment 5 Angelo 2013-12-19 07:17:55 UTC
Hi all, after much research, I came across this link which explains how to fix the problem,
must download android NDK, then indicate in the options section Xamarin Store Directory path where the android NDK is


http://www.systemdeveloper.info/2013/12/xa5101-error-missing-android-ndk.html