-
Notifications
You must be signed in to change notification settings - Fork 564
[Xamarin.Android.Build.Utilities] Xamarin can't find NDK 12b because ndk-stack.exe is now ndk-stack.cmd #188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,17 +15,13 @@ class AndroidSdkWindows : AndroidSdkBase | |
| const string XAMARIN_ANDROID_INSTALLER_PATH = @"SOFTWARE\Xamarin\MonoAndroid"; | ||
| const string XAMARIN_ANDROID_INSTALLER_KEY = "PrivateAndroidSdkPath"; | ||
|
|
||
| public override string Adb { get { return "adb.exe"; } } | ||
| public override string Android { get { return "android.bat"; } } | ||
| public override string Emulator { get { return "emulator.exe"; } } | ||
| public override string Monitor { get { return "monitor.bat"; } } | ||
| public override string ZipAlign { get { return "zipalign.exe"; } } | ||
| public override string JarSigner { get { return "jarsigner.exe"; } } | ||
| public override string KeyTool { get { return "keytool.exe"; } } | ||
| public override string NdkStack { get { return "ndk-stack.exe"; } } | ||
| public override string ZipAlign { get; protected set; } = "zipalign.exe"; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. One of the great side-effects of the "let's do this for everything" approach is that we shouldn't need to override these properties anymore. We thus shrink
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @jonpryor well be kinda do. The main reason is these files
are either in the java directory which we don't scan for since we rely on the "system" one. Or are in the build-tools folder which is versioned... and we don't know the version at the point where we scan for the tools. So for those 4 tools we should default the extension to .exe |
||
| public override string JarSigner { get; protected set; } = "jarsigner.exe"; | ||
| public override string KeyTool { get; protected set; } = "keytool.exe"; | ||
|
|
||
| public override string NdkHostPlatform32Bit { get { return "windows"; } } | ||
| public override string NdkHostPlatform64Bit { get { return "windows-x86_64"; } } | ||
| public override string Javac { get { return "javac.exe"; } } | ||
| public override string Javac { get; protected set; } = "javac.exe"; | ||
|
|
||
| public override string PreferedAndroidSdkPath { | ||
| get { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't you love C#6? :-)